Bug 797436 - SELinux is preventing /bin/rm from 'rmdir' accesses on the dossier .vbox-boinc-ipc.
Summary: SELinux is preventing /bin/rm from 'rmdir' accesses on the dossier .vbox-boin...
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:063cb7af33d12102ef4ab728101...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-25 20:02 UTC by Pascal94
Modified: 2012-02-27 09:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-27 09:06:47 UTC
Type: ---


Attachments (Terms of Use)

Description Pascal94 2012-02-25 20:02:21 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 'rmdir' accesses on the dossier .vbox-boinc-ipc.
time:           sam. 25 févr. 2012 21:02:13 CET

description:
:SELinux is preventing /bin/rm from 'rmdir' accesses on the dossier .vbox-boinc-ipc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that rm should be allowed rmdir access on the .vbox-boinc-ipc 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:boinc_t:s0
:Target Context                system_u:object_r:boinc_project_tmp_t:s0
:Target Objects                .vbox-boinc-ipc [ dir ]
: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                   10
:First Seen                    sam. 25 févr. 2012 20:38:32 CET
:Last Seen                     sam. 25 févr. 2012 20:38:48 CET
:Local ID                      2c742534-f490-44a4-8b42-5888923f5b47
:
:Raw Audit Messages
:type=AVC msg=audit(1330198728.566:297): avc:  denied  { rmdir } for  pid=4531 comm="rm" name=".vbox-boinc-ipc" dev=sda1 ino=395072 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:boinc_project_tmp_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1330198728.566:297): arch=x86_64 syscall=unlinkat success=no exit=EACCES a0=ffffffffffffff9c a1=13120c0 a2=200 a3=0 items=0 ppid=4520 pid=4531 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_t:s0 key=(null)
:
:Hash: rm,boinc_t,boinc_project_tmp_t,dir,rmdir
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t boinc_project_tmp_t:dir rmdir;
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t boinc_project_tmp_t:dir rmdir;
:

Comment 1 Miroslav Grepl 2012-02-27 09:06:47 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.