Bug 770322

Summary: SELinux is preventing /usr/lib/virtualbox/VBoxManage from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage.
Product: [Fedora] Fedora Reporter: Devon Janitz <devonjanitz>
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:27662b9510b87bdc6bfc35e4d6b8e97a9e42d607a617bd36b05848be19e31e4c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-26 22:33:36 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 Devon Janitz 2011-12-26 00:59:19 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.6-1.fc16.x86_64
reason:         SELinux is preventing /usr/lib/virtualbox/VBoxManage from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage.
time:           Sun 25 Dec 2011 07:59:09 PM EST

description:
:SELinux is preventing /usr/lib/virtualbox/VBoxManage from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/usr/lib/virtualbox/VBoxManage default label should be bin_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /usr/lib/virtualbox/VBoxManage
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that VBoxManage should be allowed execute_no_trans access on the VBoxManage 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 VBoxManage /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:textrel_shlib_t:s0
:Target Objects                /usr/lib/virtualbox/VBoxManage [ file ]
:Source                        VBoxManage
:Source Path                   /usr/lib/virtualbox/VBoxManage
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           VirtualBox-4.1-4.1.8_75467_fedora16-1
:Target RPM Packages           VirtualBox-4.1-4.1.8_75467_fedora16-1
:Policy RPM                    selinux-policy-3.10.0-67.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.6-1.fc16.x86_64 #1
:                              SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sun 25 Dec 2011 07:50:47 PM EST
:Last Seen                     Sun 25 Dec 2011 07:50:47 PM EST
:Local ID                      3e0f8845-c289-4214-a757-2370e017759a
:
:Raw Audit Messages
:type=AVC msg=audit(1324860647.845:87): avc:  denied  { execute_no_trans } for  pid=2218 comm="sh" path="/usr/lib/virtualbox/VBoxManage" dev=dm-1 ino=1978654 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:textrel_shlib_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1324860647.845:87): arch=x86_64 syscall=execve success=yes exit=0 a0=21a1eb0 a1=21a1230 a2=21a0e70 a3=18 items=0 ppid=2209 pid=2218 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/lib/virtualbox/VBoxManage subj=system_u:system_r:boinc_t:s0 key=(null)
:
:Hash: VBoxManage,boinc_t,textrel_shlib_t,file,execute_no_trans
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t textrel_shlib_t:file execute_no_trans;
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t textrel_shlib_t:file execute_no_trans;
:

Comment 1 Miroslav Grepl 2011-12-26 22:33:36 UTC

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