[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#901578: marked as done (opa-basic-tools: reports require root access)

Your message dated Tue, 27 Nov 2018 14:47:00 -0600
with message-id <CAC=5+Hq4O1ndHRHvK1sFgD=19eOrodUuyZwNPkBA8cReb13W-A@mail.gmail.com>
and subject line Re: Bug#901578: opa-basic-tools
has caused the Debian Bug report #901578,
regarding opa-basic-tools: reports require root access
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

901578: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901578
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: opa-basic-tools
Severity: important

Reports in opa-basic-tools require root privilege. When executed as non-root user, 
they report a variety of errors accessing the device. Executed as root or sudo,
they work fine. 

This is not the case with other Linux flavors, such as RHEL. Perhaps there is a
rules.d file that is missing?


bsmith@opa10:~$ /usr/sbin/opareport
opareport: No FIs found in System
bsmith@opa10:~$ /usr/sbin/opafabricinfo
Fabric 0:0 Information:
failed to open port hfi 0:1: Device or resource busy
ERROR: opaportinfo failed
bsmith@opa10:~$ sudo /usr/sbin/opafabricinfo
Fabric 0:0 Information:
SM: opa4 hfi1_0 Guid: 0x0011750101675b33 State: Master
Number of HFIs: 5
Number of Switches: 1
Number of Links: 5
Number of HFI Links: 5              (Internal: 0   External: 5)
Number of ISLs: 0                   (Internal: 0   External: 0)
Number of Degraded Links: 0         (HFI Links: 0   ISLs: 0)
Number of Omitted Links: 0          (HFI Links: 0   ISLs: 0)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/44 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opa-basic-tools depends on:
ii  bc           1.07.1-2+b1
ii  libc6        2.27-3
ii  libexpat1    2.2.5-3
ii  libibumad3   18.1-1
ii  libibverbs1  18.1-1
ii  libssl1.1    1.1.0h-4

opa-basic-tools recommends no packages.

opa-basic-tools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Tags: wontfix

The utilities in question are located under /usr/sbin. fhs-2.3 section
3.15.1 documents this path as "root-only commands".

Brian T. Smith
System Fabric Works
Senior Technical Staff
GPG Key: 0xB3C2C7B73BA3CD7F

--- End Message ---

Reply to: