Bug 1162284 - Netstat produces bluethooth permission denied errors when bluetooth disabled
Summary: Netstat produces bluethooth permission denied errors when bluetooth disabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: net-tools
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-10 18:21 UTC by bob
Modified: 2014-12-06 10:29 UTC (History)
1 user (show)

Fixed In Version: net-tools-2.0-0.31.20141124git.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-06 10:29:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bob 2014-11-10 18:21:14 UTC
Description of problem:

When a non-root user performs a netstat command, netstat produces the following error, irrespective of the fact that bluetooth has been disabled on the system:

/sys/kernel/debug/bluetooth/l2cap: Permission denied

In previous versions of netstat (F20) this error was not issued.  In current versions of netstat (F21) there is no way for a non-root user to avoid this error.  In F20 it didn't matter if bluetooth was enabled on the system or disabled, the error was not issued.  In F21 the error is issued, regardless of how the system is configured with bluetooth turned on or off.  It would be nice to have netstat be aware of the bluetooth settings so that this error is not issued every time that netstat is run as a non-root user.

Version-Release number of selected component (if applicable):

net-tools-2.0-0.28.20140707git.fc21.x86_64

How reproducible:

always

Steps to Reproduce:
1. run netstat as non-root user
2. bluetooth errors result, regardless of whether or not bluetooth is enabled on system
3.

Actual results:

/sys/kernel/debug/bluetooth/l2cap: Permission denied


Expected results:

silence

Additional info:

Comment 1 bob 2014-11-10 18:23:37 UTC
this error is screwing up exit codes.

Comment 3 Fedora Update System 2014-11-24 14:36:18 UTC
net-tools-2.0-0.31.20141124git.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/net-tools-2.0-0.31.20141124git.fc21

Comment 4 Fedora Update System 2014-11-24 20:59:11 UTC
Package net-tools-2.0-0.31.20141124git.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing net-tools-2.0-0.31.20141124git.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15664/net-tools-2.0-0.31.20141124git.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-12-06 10:29:05 UTC
net-tools-2.0-0.31.20141124git.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.