Bug 1135688 - SELinux is preventing /usr/bin/rm from 'read' accesses on the directory .vbox-boinc-ipc.
Summary: SELinux is preventing /usr/bin/rm from 'read' accesses on the directory .vbox...
Keywords:
Status: CLOSED DUPLICATE of bug 1135687
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:55cad41da823be53db6115904b6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-30 11:13 UTC by OoZooL
Modified: 2014-09-03 12:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-03 12:03:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description OoZooL 2014-08-30 11:13:43 UTC
Description of problem:
SELinux is preventing /usr/bin/rm from 'read' accesses on the directory .vbox-boinc-ipc.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that rm should be allowed read 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                   /usr/bin/rm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-8.21-13.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.26.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.12.8-200.fc19.x86_64 #1 SMP Thu
                              Jan 16 04:18:11 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-08-30 13:38:01 IDT
Last Seen                     2014-08-30 13:38:01 IDT
Local ID                      00a415b5-726a-4fbe-b516-a5b6bd8924b0

Raw Audit Messages
type=AVC msg=audit(1409395081.519:1940): avc:  denied  { read } for  pid=23540 comm="rm" name=".vbox-boinc-ipc" dev="tmpfs" ino=7816717 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:boinc_project_tmp_t:s0 tclass=dir


type=SYSCALL msg=audit(1409395081.519:1940): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=22f60c0 a2=30900 a3=0 items=0 ppid=23529 pid=23540 auid=4294967295 uid=988 gid=985 euid=988 suid=988 fsuid=988 egid=985 sgid=985 fsgid=985 ses=4294967295 tty=(none) comm=rm exe=/usr/bin/rm subj=system_u:system_r:boinc_t:s0 key=(null)

Hash: rm,boinc_t,boinc_project_tmp_t,dir,read

Additional info:
reporter:       libreport-2.2.2
hashmarkername: setroubleshoot
kernel:         3.12.8-200.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-09-03 12:03:43 UTC

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


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