Opened 7 years ago

Closed 5 years ago

#2193 closed defect (wontfix)

unnecessary warning about 'being non root' from sysinfo

Reported by: jinmei Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: sysinfo Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 2 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by jinmei)

I saw this warning from isc-sysinfo ran on a FreeBSD server:

NOTE: You have to run this program as the root user so that it can
      collect all the information it requires. Some information is
      only available to the root user.

but, as far as I can see, there's no information that is missing
whether or not I run it as a root. I further suspect it's applicable
to all BSD variants (I see this note on MacOS too).

I suspect it's another example of the Linux-centric mindset. we need
to fix it; the top level behavior must be generic.


Change History (5)

comment:1 Changed 7 years ago by jinmei

  • Component changed from Unclassified to sysinfo
  • Sub-Project changed from DNS to Core

comment:2 Changed 7 years ago by jinmei

  • Description modified (diff)

comment:3 Changed 7 years ago by shane

  • Milestone New Tasks deleted

I just checked, and the only difference appears to be that on Linux the root user can get the name and pid of every process using a specific socket, whereas non-root users can only see the name and pid of the processes using a specific socket owned by that user.

Since BSD doesn't seem to have this option to netstat, I agree we should remove the warning.

comment:4 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:5 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check

Closing ticket.

Note: See TracTickets for help on using tickets.