| Summary: | SELinux is preventing /lib/systemd/systemd-tmpfiles from 'getattr' accesses on the file /tmp/traceback-f14.img. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Laska <jlaska> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh, jlaska, jturner, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:e41a6a89ee22fa3727dcb662ff64b0a3742cfa4ad986d5bdc98d1b4d521ff1d0 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-16 14:38:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
tmpreaper_t has the following, I think we need these for systemd_tmpfiles_t also. files_getattr_all_dirs(tmpreaper_t) files_getattr_all_files(tmpreaper_t) Yes, I am seeing similar avc msgs. Fixed in the next rawhide release. |
SELinux is preventing /lib/systemd/systemd-tmpfiles from 'getattr' accesses on the file /tmp/traceback-f14.img. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed getattr access on the traceback-f14.img 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 unconfined_u:object_r:user_home_t:s0 Target Objects /tmp/traceback-f14.img [ file ] Source systemd-tmpfile Source Path /lib/systemd/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-17-6.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.14-2.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38-0.rc4.git0.2.fc15.x86_64 #1 SMP Tue Feb 8 04:08:32 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Tue 15 Feb 2011 11:51:21 AM EST Last Seen Tue 15 Feb 2011 11:51:21 AM EST Local ID 9ea4928a-47fe-46fd-8564-1cfdbfa08e0e Raw Audit Messages type=AVC msg=audit(1297788681.421:371): avc: denied { getattr } for pid=3527 comm="systemd-tmpfile" path="/tmp/traceback-f14.img" dev=dm-3 ino=176436 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1297788681.421:371): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=4 a1=1918003 a2=7ffff08cad40 a3=100 items=0 ppid=1 pid=3527 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=/lib/systemd/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) Hash: systemd-tmpfile,systemd_tmpfiles_t,user_home_t,file,getattr audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t user_home_t:file getattr; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t user_home_t:file getattr;