| Summary: | SELinux is preventing /bin/rm from 'remove_name' accesses on the directory .is-writeable. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | frywalker <fry.futurateam> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:762412b89bd8213e8f6a40cbc473ff951b76711b5daaa34a593a1a23e106a397 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-12 11:33:25 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 737380 *** |
abrt version: 2.0.5 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.0.0-1.fc16.x86_64 reason: SELinux is preventing /bin/rm from 'remove_name' accesses on the directory .is-writeable. time: Sun Sep 11 19:48:53 2011 description: :SELinux is preventing /bin/rm from 'remove_name' accesses on the directory .is-writeable. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that rm should be allowed remove_name access on the .is-writeable 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 system_u:system_r:udev_t:s0-s0:c0.c1023 :Target Context system_u:object_r:udev_rules_t:s0 :Target Objects .is-writeable [ dir ] :Source rm :Source Path /bin/rm :Port <Unknown> :Host (removed) :Source RPM Packages coreutils-8.12-2.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-15.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.0.0-1.fc16.x86_64 #1 SMP Fri Jul : 22 16:09:29 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Sun 11 Sep 2011 07:39:35 PM CEST :Last Seen Sun 11 Sep 2011 07:39:35 PM CEST :Local ID e5dfee09-8cfe-47ac-b159-6e5328ccdd1e : :Raw Audit Messages :type=AVC msg=audit(1315762775.918:70): avc: denied { remove_name } for pid=1777 comm="rm" name=".is-writeable" dev=dm-2 ino=2368775 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:udev_rules_t:s0 tclass=dir : : :type=AVC msg=audit(1315762775.918:70): avc: denied { unlink } for pid=1777 comm="rm" name=".is-writeable" dev=dm-2 ino=2368775 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:udev_rules_t:s0 tclass=lnk_file : : :type=SYSCALL msg=audit(1315762775.918:70): arch=x86_64 syscall=unlinkat success=yes exit=0 a0=ffffffffffffff9c a1=bc50f0 a2=0 a3=7fffe94dacf0 items=0 ppid=1766 pid=1777 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rm exe=/bin/rm subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null) : :Hash: rm,udev_t,udev_rules_t,dir,remove_name : :audit2allow : :#============= udev_t ============== :allow udev_t udev_rules_t:dir remove_name; :allow udev_t udev_rules_t:lnk_file unlink; : :audit2allow -R : :#============= udev_t ============== :allow udev_t udev_rules_t:dir remove_name; :allow udev_t udev_rules_t:lnk_file unlink; :