libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.7-1.fc17.x86_64 time: Sun 03 Jun 2012 05:46:56 PM CEST description: :SELinux is preventing /usr/bin/python2.7 from 'getattr' accesses on the file /usr/sbin/wpa_cli. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python2.7 should be allowed getattr access on the wpa_cli file 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 wicd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:NetworkManager_t:s0 :Target Context system_u:object_r:wpa_cli_exec_t:s0 :Target Objects /usr/sbin/wpa_cli [ file ] :Source wicd :Source Path /usr/bin/python2.7 :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.3-6.fc17.x86_64 :Target RPM Packages wpa_supplicant-1.0-0.4.fc17.x86_64 :Policy RPM selinux-policy-3.10.0-125.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.7-1.fc17.x86_64 #1 SMP Mon May 21 : 22:32:19 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen Sun 03 Jun 2012 05:46:26 PM CEST :Last Seen Sun 03 Jun 2012 05:46:26 PM CEST :Local ID 570f13f7-9814-4480-a939-2d7e54640532 : :Raw Audit Messages :type=AVC msg=audit(1338738386.885:391): avc: denied { getattr } for pid=30351 comm="wicd" path="/usr/sbin/wpa_cli" dev="sda1" ino=149896 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:wpa_cli_exec_t:s0 tclass=file : : :type=SYSCALL msg=audit(1338738386.885:391): arch=x86_64 syscall=stat success=no exit=EACCES a0=ec1f00 a1=7fff773df4a0 a2=7fff773df4a0 a3=20 items=0 ppid=1 pid=30351 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=wicd exe=/usr/bin/python2.7 subj=system_u:system_r:NetworkManager_t:s0 key=(null) : :Hash: wicd,NetworkManager_t,wpa_cli_exec_t,file,getattr : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
*** This bug has been marked as a duplicate of bug 827904 ***