Fedora Account System
Red Hat Associate
Red Hat Customer
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.6-2.fc17.x86_64 time: Mon 23 Jul 2012 11:52:23 PM CDT description: :SELinux is preventing /usr/bin/bash from 'read' accesses on the file /etc/passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash 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 sendmail_mailtr /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:mail_munin_plugin_t:s0 :Target Context system_u:object_r:passwd_file_t:s0 :Target Objects /etc/passwd [ file ] :Source sendmail_mailtr :Source Path /usr/bin/bash :Port <Unknown> :Host (removed) :Source RPM Packages bash-4.2.36-1.fc17.x86_64 :Target RPM Packages setup-2.8.48-1.fc17.noarch :Policy RPM selinux-policy-3.10.0-140.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.6-2.fc17.x86_64 #1 SMP Thu Jul 19 : 22:54:16 UTC 2012 x86_64 x86_64 :Alert Count 9 :First Seen Mon 23 Jul 2012 11:48:11 PM CDT :Last Seen Mon 23 Jul 2012 11:50:12 PM CDT :Local ID 292c97aa-52cd-4aad-a65b-6b9a1639ae6d : :Raw Audit Messages :type=AVC msg=audit(1343105412.348:216): avc: denied { read } for pid=3524 comm="sendmail_mailtr" name="passwd" dev="dm-0" ino=1050262 scontext=system_u:system_r:mail_munin_plugin_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1343105412.348:216): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd6967036ca a1=80000 a2=1b6 a3=238 items=0 ppid=2800 pid=3524 auid=4294967295 uid=0 gid=482 euid=0 suid=0 fsuid=0 egid=482 sgid=482 fsgid=482 tty=(none) ses=4294967295 comm=sendmail_mailtr exe=/usr/bin/bash subj=system_u:system_r:mail_munin_plugin_t:s0 key=(null) : :Hash: sendmail_mailtr,mail_munin_plugin_t,passwd_file_t,file,read : :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 842507 ***