Description of problem: I was running Spamasdsassin (installed from the F20 package). SELinux is preventing /usr/bin/perl from 'getattr' accesses on the directory /home/local/bin. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that perl should be allowed getattr access on the bin directory 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 spamd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:spamd_t:s0 Target Context system_u:object_r:home_bin_t:s0 Target Objects /home/local/bin [ dir ] Source spamd Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages perl-5.18.2-289.fc20.i686 Target RPM Packages filesystem-3.2-19.fc20.i686 Policy RPM selinux-policy-3.12.1-122.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.12.8-300.fc20.i686+PAE #1 SMP Thu Jan 16 01:19:09 UTC 2014 i686 i686 Alert Count 2 First Seen 2014-02-06 00:43:54 GMT Last Seen 2014-02-06 00:46:14 GMT Local ID df273ada-7755-469e-9d85-0a84feeee970 Raw Audit Messages type=AVC msg=audit(1391647574.85:5467): avc: denied { getattr } for pid=7486 comm="spamd" path="/home/local/bin" dev="sda5" ino=1499138 scontext=system_u:system_r:spamd_t:s0 tcontext=system_u:object_r:home_bin_t:s0 tclass=dir type=SYSCALL msg=audit(1391647574.85:5467): arch=i386 syscall=stat64 success=yes exit=0 a0=8fa89e8 a1=8bfb180 a2=42b03000 a3=8bfb008 items=0 ppid=7485 pid=7486 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=spamd exe=/usr/bin/perl subj=system_u:system_r:spamd_t:s0 key=(null) Hash: spamd,spamd_t,home_bin_t,dir,getattr Additional info: reporter: libreport-2.1.11 hashmarkername: setroubleshoot kernel: 3.12.8-300.fc20.i686+PAE type: libreport
506dfabe2c9279b1103daac9bdec83fff9601b4a fixes this in git.
back ported.
selinux-policy-3.12.1-126.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-126.fc20
Package selinux-policy-3.12.1-126.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-126.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2801/selinux-policy-3.12.1-126.fc20 then log in and leave karma (feedback).
Package selinux-policy-3.12.1-127.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-127.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2801/selinux-policy-3.12.1-127.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-127.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.