SELinux is preventing /bin/systemd-tmpfiles from 'getattr' accesses on the fifo_file /var/run/lirc/lircm. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed getattr access on the lircm fifo_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 systemd-tmpfile /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_tmpfiles_t:s0 Target Context system_u:object_r:lircd_var_run_t:s0 Target Objects /var/run/lirc/lircm [ fifo_file ] Source systemd-tmpfile Source Path /bin/systemd-tmpfiles Port <Ismeretlen> Host (removed) Source RPM Packages systemd-units-26-3.fc15 Target RPM Packages lirc-0.9.0-6.fc15 Policy RPM selinux-policy-3.9.16-26.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.8-32.fc15.x86_64 #1 SMP Mon Jun 13 19:49:05 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen 2011. jún. 21., kedd, 17.36.01 CEST Last Seen 2011. jún. 22., szerda, 07.26.27 CEST Local ID 4260b873-a6c8-4cf3-8c99-a62385fe54e9 Raw Audit Messages type=AVC msg=audit(1308720387.821:45): avc: denied { getattr } for pid=9795 comm="systemd-tmpfile" path="/var/run/lirc/lircm" dev=tmpfs ino=23505 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:lircd_var_run_t:s0 tclass=fifo_file type=SYSCALL msg=audit(1308720387.821:45): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=4 a1=23de52b a2=7fffb523e3b0 a3=100 items=0 ppid=1 pid=9795 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tmpfile exe=/bin/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) Hash: systemd-tmpfile,systemd_tmpfiles_t,lircd_var_run_t,fifo_file,getattr audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t lircd_var_run_t:fifo_file getattr; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t lircd_var_run_t:fifo_file getattr;
Commit 3c0f4076443bc7b4080c38a9ba20c17fb9b9145a in Rawhide has this fix.
Fixed in selinux-policy-3.9.16-31.fc15
selinux-policy-3.9.16-31.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-31.fc15
Package selinux-policy-3.9.16-32.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-32.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-32.fc15 then log in and leave karma (feedback).
selinux-policy-3.9.16-32.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.