Bug 439362

Summary: Bad: Wireless USB Adapter does not work
Product: [Fedora] Fedora Reporter: Bob Horrobin <bob>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-17 22:03:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
copy of /var/log/audit/audit.log as requested none

Description Bob Horrobin 2008-03-28 09:42:58 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2008-03-28 09:47:15 UTC
We need more information.  Why do you think this is an SELinux problem?

Did you get a selinux error?  If yes please post the selinux error.

Or attach /var/log/audit/audit.log


Comment 2 Bob Horrobin 2008-03-28 09:55:51 UTC
My apologies.  The bug report saved before I could complete it.

I get the following selinux error when the network service is started.

SELinux is preventing iwconfig (ifconfig_t) "search" to ./keys (debugfs_t). 

The selinux trouble shooter says 

Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for ./keys, restorecon -v './keys' If this does
not work, there is currently no automatic way to allow this access. Instead, you
can generate a local policy module to allow this access - see FAQ Or you can
disable SELinux protection altogether. Disabling SELinux protection is not
recommended. Please file a bug report against this package. 


This is what I have done.

Comment 3 Bob Horrobin 2008-03-28 10:03:31 UTC
Created attachment 299442 [details]
copy of /var/log/audit/audit.log as requested

Comment 4 Daniel Walsh 2008-03-28 12:45:12 UTC
You can allow this for now by executing 

# audit2allow -M mypol -i /var/log/audit/audit.log 
# semodule -i mypol.pp

Fixed in selinux-policy-3.0.8-96.fc8

Comment 5 Daniel Walsh 2008-11-17 22:03:21 UTC
Closing all bugs that have been in modified for over a month.  Please reopen if the bug is not actually fixed.