SELinux is preventing /usr/sbin/wpa_supplicant from 'write' accesses on the netlink_socket Unknown. Actually I have no idea, how this happened. Just found this in sealert -b list. Yes I am connected to the network via WiFi almost all the time. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that wpa_supplicant should be allowed write access on the Unknown netlink_socket by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep wpa_supplicant /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 Target Context system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 Target Objects Unknown [ netlink_socket ] Source wpa_supplicant Source Path /usr/sbin/wpa_supplicant Port <Neznámé> Host (removed) Source RPM Packages wpa_supplicant-0.7.3-4.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-1.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38-0.rc8.git0.1.fc15.x86_64 #1 SMP Tue Mar 8 08:22:15 UTC 2011 x86_64 x86_64 Alert Count 410 First Seen Čt 10. březen 2011, 07:42:12 CET Last Seen So 12. březen 2011, 10:07:56 CET Local ID 97a09e92-1099-483d-87c7-0ad86313eedf Raw Audit Messages type=AVC msg=audit(1299920876.246:2995): avc: denied { write } for pid=1371 comm="wpa_supplicant" scontext=system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 tcontext=system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 tclass=netlink_socket type=SYSCALL msg=audit(1299920876.246:2995): arch=x86_64 syscall=sendmsg success=yes exit=ENOSPC a0=5 a1=7fff1b646800 a2=0 a3=0 items=0 ppid=1 pid=1371 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=wpa_supplicant exe=/usr/sbin/wpa_supplicant subj=system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 key=(null) Hash: wpa_supplicant,NetworkManager_t,NetworkManager_t,netlink_socket,write audit2allow #============= NetworkManager_t ============== allow NetworkManager_t self:netlink_socket write; audit2allow -R #============= NetworkManager_t ============== allow NetworkManager_t self:netlink_socket write;
Fixed in selinux-policy-3.9.16-4.fc15
selinux-policy-3.9.16-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-5.fc15
selinux-policy-3.9.16-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.