Bug 798392

Summary: SELinux is preventing /usr/lib64/virtualbox/VirtualBox from read, open access on the fichier /usr/lib64/virtualbox/VirtualBox.
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:694940f8bc2c5ea2efc4a6c5bd4f79001d391a26c4c9ecc5fcf873da273ee46c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-29 11:25:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pascal94 2012-02-28 19:14:47 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/virtualbox/VirtualBox from read, open access on the fichier /usr/lib64/virtualbox/VirtualBox.
time:           mar. 28 févr. 2012 20:14:38 CET

description:
:SELinux is preventing /usr/lib64/virtualbox/VirtualBox from read, open access on the fichier /usr/lib64/virtualbox/VirtualBox.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that VirtualBox should be allowed read open access on the VirtualBox 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 VirtualBox /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:execmem_exec_t:s0
:Target Objects                /usr/lib64/virtualbox/VirtualBox [ file ]
:Source                        VirtualBox
:Source Path                   /usr/lib64/virtualbox/VirtualBox
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           VirtualBox-OSE-4.1.8-2.fc16.x86_64
:Target RPM Packages           VirtualBox-OSE-4.1.8-2.fc16.x86_64
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
: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                    dim. 26 févr. 2012 11:46:29 CET
:Last Seen                     dim. 26 févr. 2012 11:46:29 CET
:Local ID                      f325065b-da44-4585-8ea3-e8d2a201b042
:
:Raw Audit Messages
:type=AVC msg=audit(1330253189.27:174): avc:  denied  { read open } for  pid=7937 comm="VBoxSVC" name="VirtualBox" dev=sda1 ino=393543 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:execmem_exec_t:s0 tclass=file
:
:
:type=AVC msg=audit(1330253189.27:174): avc:  denied  { execute_no_trans } for  pid=7937 comm="VBoxSVC" path="/usr/lib64/virtualbox/VirtualBox" dev=sda1 ino=393543 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:execmem_exec_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1330253189.27:174): arch=x86_64 syscall=execve success=yes exit=0 a0=7f186d3e3740 a1=7f186d3e3690 a2=7fffd28b4e60 a3=7f186f2747f8 items=0 ppid=7785 pid=7937 auid=4294967295 uid=993 gid=990 euid=0 suid=0 fsuid=0 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VirtualBox exe=/usr/lib64/virtualbox/VirtualBox subj=system_u:system_r:boinc_t:s0 key=(null)
:
:Hash: VirtualBox,boinc_t,execmem_exec_t,file,read,open
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t execmem_exec_t:file { read open execute_no_trans };
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t execmem_exec_t:file { read open execute_no_trans };
:

Comment 1 Miroslav Grepl 2012-02-29 11:25:31 UTC

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