Bug 790955

Summary: SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'write' accesses on the dossier /var/lib/boinc.
Product: [Fedora] Fedora Reporter: Pascal94 <306power>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8b4f3c3c576a9991e1242607460be402fa256afd9261d002a0f2d478b4f98f11
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-16 14:44:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pascal94 2012-02-15 19:27:28 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'write' accesses on the dossier /var/lib/boinc.
time:           mer. 15 févr. 2012 20:27:18 CET

description:
:SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'write' accesses on the dossier /var/lib/boinc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that VBoxManage should be allowed write access on the boinc 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 VBoxManage /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_var_lib_t:s0
:Target Objects                /var/lib/boinc [ dir ]
:Source                        VBoxManage
:Source Path                   /usr/lib64/virtualbox/VBoxManage
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           VirtualBox-OSE-4.1.8-2.fc16.x86_64
:Target RPM Packages           boinc-client-6.12.35-1.r24014svn.fc16.x86_64
: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.6-3.fc16.x86_64 #1 SMP Mon
:                              Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   9
:First Seen                    mer. 15 févr. 2012 19:48:02 CET
:Last Seen                     mer. 15 févr. 2012 19:48:29 CET
:Local ID                      15364a3f-4464-45c2-ba10-08c5660034f9
:
:Raw Audit Messages
:type=AVC msg=audit(1329331709.234:81): avc:  denied  { write } for  pid=2335 comm="VBoxManage" name="boinc" dev=sda1 ino=262992 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1329331709.234:81): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7fff59f940c0 a1=1ff a2=0 a3=7fff59f93d80 items=0 ppid=2120 pid=2335 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VBoxManage exe=/usr/lib64/virtualbox/VBoxManage subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: VBoxManage,boinc_project_t,boinc_var_lib_t,dir,write
:
:audit2allow
:
:#============= boinc_project_t ==============
:#!!!! The source type 'boinc_project_t' can write to a 'dir' of the following types:
:# var_lib_t, boinc_project_var_lib_t, tmp_t, boinc_project_tmp_t
:
:allow boinc_project_t boinc_var_lib_t:dir write;
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:#!!!! The source type 'boinc_project_t' can write to a 'dir' of the following types:
:# var_lib_t, boinc_project_var_lib_t, tmp_t, boinc_project_tmp_t
:
:allow boinc_project_t boinc_var_lib_t:dir write;
:

Comment 1 Miroslav Grepl 2012-02-16 14:44:53 UTC

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