Bug 443686

Summary: wpa_cli unable to talk to wpa_supplicant with selinux enabled
Product: [Fedora] Fedora Reporter: tswan <tswan>
Component: wpa_supplicantAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-23 21:20:47 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:

Description tswan 2008-04-22 20:56:54 UTC
Description of problem:

wpa_cli unable to talk to wpa_supplicant with selinux enabled

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

How reproducible:
always

Steps to Reproduce:
1. fresh install (default options)
2. edit /etc/sysconfig/wpa_supplicant and remove -u which prevents
wpa_supplicant from running with dbus, add the appropriate interface and drivers
3. restart wpa_supplicant
4. run wpa_cli as root or as a privileged user 
5. cannot talk to wpa_supplicant
6. run the selinux troubleshooter and you can see wpa_cli is prevented from
talking with wpa_supplicant (even as root)
  
Actual results:
wpa_cli doesn't work


Expected results:
wpa_cli should work

Additional info:
none

Comment 1 Daniel Walsh 2008-04-23 21:20:47 UTC
What AVC are you seeing?  You probably need to customize your policy if you want
this to work.

# grep wpa /var/log/audit/audit.log | audit2allow -M mywpa
# semodule -i mywpa.pp

But since this is local customization it probably will not be supported by the
default SELinux policy.

I am marking this as WONTFIX, for now