| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the directory .sandbox-hicham-kauJtf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hicham HAOUARI <hicham.haouari> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:09d7678c76e5fbe0fa31939e14b9e8680ff5067aa6ed9054e2541150e7542e16 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-28 12:09:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 691175 *** |
SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the directory .sandbox-hicham-kauJtf. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed write access on the .sandbox-hicham-kauJtf 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 unconfined_u:object_r:sandbox_file_t:s0:c325,c954 Target Objects .sandbox-hicham-kauJtf [ dir ] Source systemd-tmpfile Source Path /bin/systemd-tmpfiles Port <Unknown> Host (removed) Source RPM Packages systemd-units-20-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.1-6.fc15.i686 #1 SMP Wed Mar 23 23:16:24 UTC 2011 i686 i686 Alert Count 1 First Seen Sun 27 Mar 2011 02:33:33 AM WET Last Seen Sun 27 Mar 2011 02:33:33 AM WET Local ID dedcc7a0-e00c-4946-aa4f-1b5e2f46fa7d Raw Audit Messages type=AVC msg=audit(1301193213.642:219): avc: denied { write } for pid=1494 comm="systemd-tmpfile" name=".sandbox-hicham-kauJtf" dev=sda5 ino=418252 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c325,c954 tclass=dir type=AVC msg=audit(1301193213.642:219): avc: denied { remove_name } for pid=1494 comm="systemd-tmpfile" name="gnash-cookies.5961" dev=sda5 ino=418345 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c325,c954 tclass=dir type=AVC msg=audit(1301193213.642:219): avc: denied { unlink } for pid=1494 comm="systemd-tmpfile" name="gnash-cookies.5961" dev=sda5 ino=418345 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c325,c954 tclass=file type=SYSCALL msg=audit(1301193213.642:219): arch=i386 syscall=unlinkat success=yes exit=0 a0=6 a1=91132cb a2=0 a3=bfda06a0 items=0 ppid=1 pid=1494 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,sandbox_file_t,dir,write audit2allow #============= systemd_tmpfiles_t ============== #!!!! The source type 'systemd_tmpfiles_t' can write to a 'dir' of the following types: # man_t, root_t, tmp_t, device_t, var_auth_t, file_t, lockfile, pidfile, tmpfile, faillog_t, rpm_var_lib_t allow systemd_tmpfiles_t sandbox_file_t:dir { write remove_name }; allow systemd_tmpfiles_t sandbox_file_t:file unlink; audit2allow -R #============= systemd_tmpfiles_t ============== #!!!! The source type 'systemd_tmpfiles_t' can write to a 'dir' of the following types: # man_t, root_t, tmp_t, device_t, var_auth_t, file_t, lockfile, pidfile, tmpfile, faillog_t, rpm_var_lib_t allow systemd_tmpfiles_t sandbox_file_t:dir { write remove_name }; allow systemd_tmpfiles_t sandbox_file_t:file unlink;