Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.1-5.fc17.x86_64 reason: SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/passwd. time: sam. 21 janv. 2012 16:25:51 CET description: :SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python should be allowed read access on the passwd <Inconnu> 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 denyhosts.py /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:denyhosts_t:s0 :Target Context system_u:object_r:passwd_file_t:s0 :Target Objects /etc/passwd [ None ] :Source denyhosts.py :Source Path /usr/bin/python :Port <Inconnu> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM <Inconnu> :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan : 17 18:57:18 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen sam. 21 janv. 2012 16:21:45 CET :Last Seen sam. 21 janv. 2012 16:21:45 CET :Local ID ede86168-a90e-4bdc-b38e-809b51d38d4e : :Raw Audit Messages :type=AVC msg=audit(1327159305.817:44): avc: denied { read } for pid=1235 comm="denyhosts.py" name="passwd" dev=dm-1 ino=94678 scontext=system_u:system_r:denyhosts_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327159305.817:44): arch=c000003e syscall=2 success=no exit=-13 a0=7faadd6ce6ba a1=80000 a2=1b6 a3=238 items=0 ppid=1233 pid=1235 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="denyhosts.py" exe="/usr/bin/python" subj=system_u:system_r:denyhosts_t:s0 key=(null) : : :Hash: denyhosts.py,denyhosts_t,passwd_file_t,None,read : :audit2allow : : :audit2allow -R : :
Fixed in selinux-policy-3.10.0-77.fc17