Bug 817492

Summary: SELinux is preventing mount from 'execute_no_trans' accesses on the fichier /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/mount.vboxsf.
Product: [Fedora] Fedora Reporter: John Mev <zikamev>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG 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: i686   
OS: Unspecified   
Whiteboard: abrt_hash:0f4e1dd2995212a2d05c10a4fd5a7da614e0980e78694e0a151e1ff0bbad7fde
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-23 06:58:06 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 John Mev 2012-04-30 09:19:40 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.2-6.fc16.i686
reason:         SELinux is preventing mount from 'execute_no_trans' accesses on the fichier /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/mount.vboxsf.
time:           lun. 30 avril 2012 11:18:30 CEST

description:
:SELinux is preventing mount from 'execute_no_trans' accesses on the fichier /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/mount.vboxsf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that mount should be allowed execute_no_trans access on the mount.vboxsf 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 mount /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:mount_t:s0
:Target Context                system_u:object_r:lib_t:s0
:Target Objects                /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditi
:                              ons/mount.vboxsf [ file ]
:Source                        mount
:Source Path                   mount
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-84.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.3.2-6.fc16.i686 #1 SMP Sat Apr 21 13:23:12 UTC
:                              2012 i686 i686
:Alert Count                   1
:First Seen                    lun. 30 avril 2012 11:16:10 CEST
:Last Seen                     lun. 30 avril 2012 11:16:10 CEST
:Local ID                      e9c1a766-2bb0-4599-b281-380a5d7e8c7e
:
:Raw Audit Messages
:type=AVC msg=audit(1335777370.660:70): avc:  denied  { execute_no_trans } for  pid=2292 comm="mount" path="/opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/mount.vboxsf" dev="sda1" ino=469931 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file
:
:
:Hash: mount,mount_t,lib_t,file,execute_no_trans
:
:audit2allow
:
:#============= mount_t ==============
:allow mount_t lib_t:file execute_no_trans;
:
:audit2allow -R
:
:#============= mount_t ==============
:allow mount_t lib_t:file execute_no_trans;
:

Comment 1 Daniel Walsh 2012-04-30 20:15:28 UTC
chcon -t bin_t /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/mount.vboxsf

Will fix, what kind of content is in this directory?

ls -l /opt/VBoxGuestAdditions-4.1.12/lib/VBoxGuestAdditions/

Comment 2 John Mev 2012-06-23 06:58:06 UTC
The issue solved by itself. Thanks