Bug 1162284

Summary: Netstat produces bluethooth permission denied errors when bluetooth disabled
Product: [Fedora] Fedora Reporter: bob <redzilla.coralnut>
Component: net-toolsAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 21CC: jpopelka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: net-tools-2.0-0.31.20141124git.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-06 10:29:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.