Red Hat Bugzilla – Bug 242210
Targeted policy prevents wireless with NetworkManager
Last modified: 2007-11-30 17:12:05 EST
Description of problem:
The targeted policy prevents is preventing NetworkManager from accessing
wireless wlan0 connections. AVC denied messages are produced. The SELinux
Troubleshooter suggests a labeling problem with wlan0, but restorecon doesn't
fix the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install F7 on a laptop with iwl3945 wireless as wlan0.
2. Enable NetworkManager
3. Try to connect to any wireless network.
No Wireless connection.
results of cat /var/log/messages | grep wlan0
Jun 2 03:50:48 lappy setroubleshoot: SELinux is preventing
/usr/sbin/NetworkManager (NetworkManager_t) "unlink" to wlan0 (var_run_t).
For complete SELinux messages. run sealert -l 286c60a0-5ec3-4fc6-94bc-312dc4b88e55
Fixed in selinux-policy-2.6.4-13.fc7
restorecon -R -v /var/run should fix this for now.
This is a bug for me also.
restorecon -R -v /var/run works as a workaround until I reboot
Is this file created by wpa_supplicant?
Closing as fixes are in the current release