Bug 585586

Summary: SELinux is preventing /bin/bash "execute_no_trans" access on /usr/lib/vmware-tools/sbin32/vmware-guestd.
Product: [Fedora] Fedora Reporter: Rocco <RMuscaritolo>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:5ab4a496806a62e332fc6603279fd39b7e6c0808618c8eec4ddc9bd83e56290c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-26 09:21:41 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 Rocco 2010-04-24 22:11:50 UTC
Summary:

SELinux is preventing /bin/bash "execute_no_trans" access on
/usr/lib/vmware-tools/sbin32/vmware-guestd.

Detailed Description:

SELinux denied access requested by vmware-guestd. It is not expected that this
access is required by vmware-guestd and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:vmware_host_t:s0-s0:c0.c1023
Target Context                system_u:object_r:vmware_host_exec_t:s0
Target Objects                /usr/lib/vmware-tools/sbin32/vmware-guestd [ file
                              ]
Source                        ldd
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.0.33-1.fc12
Target RPM Packages           VMwareTools-8194-208167
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.i686 #1
                              SMP Sat Nov 7 21:41:45 EST 2009 i686 i686
Alert Count                   2
First Seen                    Sat 24 Apr 2010 04:06:53 PM EDT
Last Seen                     Sat 24 Apr 2010 04:06:53 PM EDT
Local ID                      75dc2562-bad2-41d2-89ba-b0a60ce68e99
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1272139613.342:7): avc:  denied  { execute_no_trans } for  pid=1244 comm="vmware-guestd" path="/usr/lib/vmware-tools/sbin32/vmware-guestd" dev=dm-0 ino=87362 scontext=system_u:system_r:vmware_host_t:s0-s0:c0.c1023 tcontext=system_u:object_r:vmware_host_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1272139613.342:7): arch=40000003 syscall=11 success=no exit=-13 a0=8edefd0 a1=8edc740 a2=8ee08e0 a3=8edc740 items=0 ppid=1243 pid=1244 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="vmware-guestd" exe="/bin/bash" subj=system_u:system_r:vmware_host_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,ldd,vmware_host_t,vmware_host_exec_t,file,execute_no_trans
audit2allow suggests:

#============= vmware_host_t ==============
allow vmware_host_t vmware_host_exec_t:file execute_no_trans;

Comment 1 Miroslav Grepl 2010-04-26 09:21:41 UTC

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