| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'unlink' accesses on the sock_file native. | ||
|---|---|---|---|
| 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:aa89d8f839ad67ac372fd6da737bcb1bd6f7aa99a152e4d2a680acc2d70542b6 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-28 12:09:49 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 'unlink' accesses on the sock_file native. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed unlink access on the native sock_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:sandbox_file_t:s0:c325,c954 Target Objects native [ sock_file ] 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 fe89e3af-cb6d-47a1-9745-fb8cfb84174c Raw Audit Messages type=AVC msg=audit(1301193213.713:221): avc: denied { unlink } for pid=1494 comm="systemd-tmpfile" name="native" dev=sda5 ino=418359 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c325,c954 tclass=sock_file type=SYSCALL msg=audit(1301193213.713:221): arch=i386 syscall=unlinkat success=yes exit=0 a0=7 a1=911b2eb a2=0 a3=bfda05c0 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,sock_file,unlink audit2allow #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t sandbox_file_t:sock_file unlink; audit2allow -R #============= systemd_tmpfiles_t ============== allow systemd_tmpfiles_t sandbox_file_t:sock_file unlink;