Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.2-1.fc16.x86_64 reason: SELinux is preventing /usr/bin/python from 'read' accesses on the file passwd. time: Mon 30 Jan 2012 08:01:09 PM CET description: :SELinux is preventing /usr/bin/python from 'read' accesses on the file passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python should be allowed read access on the passwd 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 tuned /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:tuned_t:s0 :Target Context system_u:object_r:passwd_file_t:s0 :Target Objects passwd [ file ] :Source tuned :Source Path /usr/bin/python :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.2-18.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-80.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.2.2-1.fc16.x86_64 #1 : SMP Thu Jan 26 03:21:58 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Mon 30 Jan 2012 07:57:55 PM CET :Last Seen Mon 30 Jan 2012 07:57:55 PM CET :Local ID 3d739ac6-2a14-4e0a-a6ac-dc39674ffe70 : :Raw Audit Messages :type=AVC msg=audit(1327949875.29:29): avc: denied { read } for pid=657 comm="tuned" name="passwd" dev=sda7 ino=136118 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=filenode=(removed) type=AVC msg=audit(1327949875.029:29): avc: denied { open } for pid=657 comm="tuned" name="passwd" dev=sda7 ino=136118 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1327949875.29:29): arch=x86_64 syscall=open success=yes exit=EINTR a0=7f56ce15f6ba a1=80000 a2=1b6 a3=238 items=0 ppid=656 pid=657 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=tuned exe=/usr/bin/python subj=system_u:system_r:tuned_t:s0 key=(null) : :Hash: tuned,tuned_t,passwd_file_t,file,read : :audit2allow : :#============= tuned_t ============== :allow tuned_t passwd_file_t:file { read open }; : :audit2allow -R : :#============= tuned_t ============== :allow tuned_t passwd_file_t:file { read open }; :
Happens when activating a tuned profile (or manually doing 'systemctl start tuned.service') on Fedora 17 with the usrmove repo. tuned-0.2.21-2.fc17.noarch selinux-policy-targeted-3.10.0-80.fc17.noarch
Fixed in selinux-policy-3.10.0-82.fc17