Bug 823106

Summary: SELinux is preventing chrome from executing /opt/google/chrome/nacl_helper_bootstrap.
Product: [Fedora] Fedora Reporter: Umesh Sharma <itsoft.umesh>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 12CC: dominick.grift, dwalsh, itsoft.umesh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:ec639da9857fe9177715c7f60732f203a77d6833242c40d33d8c9407bc1401d5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 08:10:38 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 Umesh Sharma 2012-05-19 06:47:18 UTC
Summary:

SELinux is preventing chrome from executing
/opt/google/chrome/nacl_helper_bootstrap.

Detailed Description:

SELinux has denied the chrome from executing
/opt/google/chrome/nacl_helper_bootstrap. If chrome is supposed to be able to
execute /opt/google/chrome/nacl_helper_bootstrap, this could be a labeling
problem. Most confined domains are allowed to execute files labeled bin_t. So
you could change the labeling on this file to bin_t and retry the application.
If this chrome is not supposed to execute
/opt/google/chrome/nacl_helper_bootstrap, this could signal an intrusion
attempt.

Allowing Access:

If you want to allow chrome to execute /opt/google/chrome/nacl_helper_bootstrap:
chcon -t bin_t '/opt/google/chrome/nacl_helper_bootstrap' If this fix works,
please update the file context on disk, with the following command: semanage
fcontext -a -t bin_t '/opt/google/chrome/nacl_helper_bootstrap' Please specify
the full path to the executable, Please file a bug report to make sure this
becomes the default labeling.

Additional Information:

Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                system_u:object_r:usr_t:s0
Target Objects                /opt/google/chrome/nacl_helper_bootstrap [ file ]
Source                        chrome
Source Path                   chrome
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           google-chrome-stable-18.0.1025.168-134367
Policy RPM                    selinux-policy-3.6.32-127.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   execute
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32.26-175.fc12.x86_64 #1 SMP Wed Dec 1
                              21:39:34 UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Fri 11 May 2012 10:00:15 AM IST
Last Seen                     Fri 11 May 2012 10:00:15 AM IST
Local ID                      307cf91b-50a0-4c1d-b94d-df4d9cbf386b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1336710615.297:15): avc:  denied  { execute_no_trans } for  pid=2419 comm="chrome" path="/opt/google/chrome/nacl_helper_bootstrap" dev=dm-0 ino=658461 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usr_t:s0 tclass=file



Hash String generated from  execute,chrome,chrome_sandbox_t,usr_t,file,execute_no_trans
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t usr_t:file execute_no_trans;

Comment 1 Miroslav Grepl 2012-05-21 08:10:38 UTC
F12 is no longer supported. Please use a newer version of Fedora.