Bug 797403 - SELinux is preventing /bin/rm from 'unlink' accesses on the sock_file ipcd.
Summary: SELinux is preventing /bin/rm from 'unlink' accesses on the sock_file ipcd.
Keywords:
Status: CLOSED DUPLICATE of bug 796935
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:465ef82851612a0fff061c2b5f3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-25 16:12 UTC by Pascal94
Modified: 2012-02-27 10:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-27 10:01:50 UTC
Type: ---


Attachments (Terms of Use)

Description Pascal94 2012-02-25 16:12:53 UTC
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;
:

Comment 1 Miroslav Grepl 2012-02-27 10:01:50 UTC

*** This bug has been marked as a duplicate of bug 796935 ***


Note You need to log in before you can comment on or make changes to this bug.