| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the directory fedora-boot. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeff Bastian <jbastian> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:496d630b5fe0230351b98ecfd3dc8e3dfadce005ac4d591781b1a99e887d348b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-13 16:49:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I'm not sure what triggered this. I updated libreport this morning (to fix bug 715373) and this popped up in setroubleshoot. Oh, I think I found the problem: I was building a vfat boot partition for a Fedora ARM system yesterday so I have this from trying to rsync and preserve everything: $ ls -lZ /tmp | grep dos drwx------. jbastian jbastian system_u:object_r:dosfs_t:s0 fedora-boot I'll just remove that directory since I'm done with it now. |
SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the directory fedora-boot. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed read access on the fedora-boot 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:dosfs_t:s0 Target Objects fedora-boot [ dir ] Source systemd-tmpfile Source Path /bin/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-units-26-5.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-32.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.8-35.fc15.x86_64 #1 SMP Wed Jul 6 13:58:54 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Wed 13 Jul 2011 09:14:07 AM CDT Last Seen Wed 13 Jul 2011 09:14:07 AM CDT Local ID ce077962-4a0b-4092-82b5-d3769305ca63 Raw Audit Messages type=AVC msg=audit(1310566447.186:104): avc: denied { read } for pid=3073 comm="systemd-tmpfile" name="fedora-boot" dev=dm-1 ino=15992025 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=dir type=SYSCALL msg=audit(1310566447.186:104): arch=x86_64 syscall=openat success=yes exit=ENXIO a0=4 a1=1b1494b a2=b0800 a3=0 items=0 ppid=1 pid=3073 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,dosfs_t,dir,read audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t dosfs_t:dir read; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t dosfs_t:dir read;