| Summary: | SELinux is preventing /bin/rm from 'unlink' accesses on the sock_file ipcd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pascal94 <306power> |
| 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:465ef82851612a0fff061c2b5f3dc5be22c353822f762b58b4ce7ac101de7f1b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-27 10:01:50 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 796935 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.x86_64 reason: SELinux is preventing /bin/rm from 'unlink' accesses on the sock_file ipcd. time: sam. 25 févr. 2012 17:12:40 CET description: :SELinux is preventing /bin/rm from 'unlink' accesses on the sock_file ipcd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that rm should be allowed unlink access on the ipcd 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 rm /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:boinc_project_t:s0 :Target Context system_u:object_r:boinc_project_tmp_t:s0 :Target Objects ipcd [ sock_file ] :Source rm :Source Path /bin/rm :Port <Inconnu> :Host (removed) :Source RPM Packages coreutils-8.12-6.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux CM-ELITE-341 3.2.7-1.fc16.x86_64 #1 SMP Tue : Feb 21 01:40:47 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen sam. 25 févr. 2012 17:06:07 CET :Last Seen sam. 25 févr. 2012 17:06:07 CET :Local ID ed78ad72-db9c-4356-abcd-7ab4211000eb : :Raw Audit Messages :type=AVC msg=audit(1330185967.241:160): avc: denied { unlink } for pid=4189 comm="rm" name="ipcd" dev=sda1 ino=533326 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_project_tmp_t:s0 tclass=sock_file : : :type=SYSCALL msg=audit(1330185967.241:160): arch=x86_64 syscall=unlinkat success=yes exit=0 a0=8 a1=25d4680 a2=0 a3=0 items=0 ppid=4180 pid=4189 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=rm exe=/bin/rm subj=system_u:system_r:boinc_project_t:s0 key=(null) : :Hash: rm,boinc_project_t,boinc_project_tmp_t,sock_file,unlink : :audit2allow : :#============= boinc_project_t ============== :allow boinc_project_t boinc_project_tmp_t:sock_file unlink; : :audit2allow -R : :#============= boinc_project_t ============== :allow boinc_project_t boinc_project_tmp_t:sock_file unlink; :