SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the directory isolinux. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed read access on the isolinux 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 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:iso9660_t:s0 Target Objects isolinux [ dir ] Source systemd-tmpfile Source Path /bin/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-units-26-9.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.40.4-5.fc15.i686.PAE #1 SMP Tue Aug 30 14:43:52 UTC 2011 i686 i686 Alert Count 2 First Seen Sat 10 Sep 2011 01:28:30 PM CEST Last Seen Sun 11 Sep 2011 01:28:26 PM CEST Local ID a1a89655-e061-4fb9-9630-fbcc7a555aa0 Raw Audit Messages type=AVC msg=audit(1315740506.267:946): avc: denied { read } for pid=31122 comm="systemd-tmpfile" name="isolinux" dev=sda3 ino=90836 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:iso9660_t:s0 tclass=dir type=SYSCALL msg=audit(1315740506.267:946): arch=i386 syscall=openat success=yes exit=EIO a0=4 a1=9891b6b a2=b8800 a3=0 items=0 ppid=1 pid=31122 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,iso9660_t,dir,read audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t iso9660_t:dir read; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t iso9660_t:dir read;
I happened to have drwxrwxr-x. mk mk system_u:object_r:iso9660_t:s0 /tmp/isolinux/ I would expect that either * systemd had permissions to remove _everything_ in /tmp, or * systemd didn't try to remove anything it didn't have permissions to - and log it "properly", or * such denials were silent
Well I guess in this case we can dontaudit it. But lets add fs_list_all(systemd_tmpfiles_t)
Fixed in selinux-policy-3.9.16-41.fc15
selinux-policy-3.9.16-48.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-48.fc15
Package selinux-policy-3.9.16-48.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-48.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16023/selinux-policy-3.9.16-48.fc15 then log in and leave karma (feedback).
selinux-policy-3.9.16-48.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.