Bug 443686 - wpa_cli unable to talk to wpa_supplicant with selinux enabled
Summary: wpa_cli unable to talk to wpa_supplicant with selinux enabled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: wpa_supplicant
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-22 20:56 UTC by tswan
Modified: 2008-04-23 21:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-23 21:20:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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