Bug 1134597
| Summary: | SELinux is preventing /usr/bin/rm from 'write' accesses on the directory . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter H. Jones <jones.peter.busi> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:b51828fdf7732d6f6c0f0fb7f4dabf7f6099b4c7eca65dc958157378bef1ae41 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-28 13:37:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: trying to delete temp directory after running livecd-creator Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-200.fc20.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1037567 *** |
Description of problem: Maybe trying to delete the contents of the temporary directory after a livecd-creator run. SELinux is preventing /usr/bin/rm from 'write' accesses on the directory . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that rm should be allowed write access on the 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 rm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context system_u:system_r:init_t:s0 Target Objects [ dir ] Source rm Source Path /usr/bin/rm Port <Unknown> Host (removed) Source RPM Packages coreutils-8.21-21.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-181.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.10-200.fc20.x86_64 #1 SMP Thu Aug 14 15:39:24 UTC 2014 x86_64 x86_64 Alert Count 15 First Seen 2014-08-27 13:47:11 EDT Last Seen 2014-08-27 13:47:11 EDT Local ID 2236654f-2aa5-4866-82c2-bfd019f7ffbe Raw Audit Messages type=AVC msg=audit(1409161631.432:1064): avc: denied { write } for pid=27482 comm="rm" name="attr" dev="proc" ino=348730 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=dir type=SYSCALL msg=audit(1409161631.432:1064): arch=x86_64 syscall=unlinkat success=no exit=EACCES a0=8 a1=1a29ab8 a2=0 a3=11 items=0 ppid=27458 pid=27482 auid=3000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm=rm exe=/usr/bin/rm subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash: rm,unconfined_t,init_t,dir,write Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-200.fc20.x86_64 type: libreport Potential duplicate: bug 1037567