| Summary: | SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the directory .sandbox-hicham-kauJtf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hicham HAOUARI <hicham.haouari> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | 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:57ad29986e6c65f2509e742c4c44f57628edf35513ffedc402648f77f8c776ff | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-18 22:12:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
The problem here is /bin/systemd-tmpfiles is not labeled correctly. Please yum update to the latest policy and this problem should go away. |
SELinux is preventing /bin/systemd-tmpfiles from 'read' accesses on the directory .sandbox-hicham-kauJtf. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-tmpfiles should be allowed read 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:initrc_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-1.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-1.fc15.i686 #1 SMP Tue Mar 15 05:26:56 UTC 2011 i686 i686 Alert Count 3 First Seen Thu 17 Mar 2011 08:05:01 PM WET Last Seen Fri 18 Mar 2011 07:58:47 PM WET Local ID 06860a79-b7a6-4725-bcd3-d72a1193da5d Raw Audit Messages type=AVC msg=audit(1300478327.969:219): avc: denied { read } for pid=1699 comm="systemd-tmpfile" name=".sandbox-hicham-kauJtf" dev=sda5 ino=418252 scontext=system_u:system_r:initrc_t:s0 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c325,c954 tclass=dir type=SYSCALL msg=audit(1300478327.969:219): arch=i386 syscall=openat success=no exit=EACCES a0=4 a1=8b38b2f a2=b0800 a3=0 items=0 ppid=1 pid=1699 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:initrc_t:s0 key=(null) Hash: systemd-tmpfile,initrc_t,sandbox_file_t,dir,read audit2allow #============= initrc_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Contraint rule: allow initrc_t sandbox_file_t:dir read; audit2allow -R #============= initrc_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Contraint rule: allow initrc_t sandbox_file_t:dir read;