Bug 785470

Summary: SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the None /usr/lib/virtualbox/VBoxManage.
Product: [Fedora] Fedora Reporter: Devon Janitz <devonjanitz>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE 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:418820b94d73355aa6321d23533dbe9d61a8e14dab76e7983ce080e85842a278
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-31 19:40:02 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 2012-01-29 02:52:32 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.x86_64
reason:         SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the None /usr/lib/virtualbox/VBoxManage.
time:           Sat 28 Jan 2012 09:52:16 PM EST

description:
:SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the None /usr/lib/virtualbox/VBoxManage.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bash should be allowed execute_no_trans access on the VBoxManage <Unknown> 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 sh /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 [ None ]
:Source                        sh
:Source Path                   /bin/bash
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.x86_64 #1
:                              SMP Thu Jan 26 03:21:58 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sat 28 Jan 2012 09:50:53 PM EST
:Last Seen                     Sat 28 Jan 2012 09:50:53 PM EST
:Local ID                      efb7bf17-cc7d-495c-a08a-645b2d61864c
:
:Raw Audit Messages
:type=AVC msg=audit(1327805453.469:83): avc:  denied  { execute_no_trans } for  pid=2467 comm="sh" path="/usr/lib/virtualbox/VBoxManage" dev=dm-1 ino=1978004 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:textrel_shlib_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327805453.469:83): arch=c000003e syscall=59 success=no exit=-13 a0=a28eb0 a1=a28230 a2=a27e70 a3=18 items=0 ppid=2460 pid=2467 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm="sh" exe="/bin/bash" subj=system_u:system_r:boinc_t:s0 key=(null)
:
:
:Hash: sh,boinc_t,textrel_shlib_t,None,execute_no_trans
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-01-31 19:40:02 UTC
yum -y update
restorecon /usr/lib/virtualbox/VBoxManage

Comment 2 Devon Janitz 2012-02-01 15:39:59 UTC
Thanks, problem solved and case can be closed!  I was "restorecon /usr/lib/virtualbox/VBoxManage" that corrected the problem.
Devon