Bug 756452 - SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from executing /opt/google/chrome/nacl_helper_bootstrap.
Summary: SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from executing...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:af3b322fce0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-23 16:20 UTC by Bob Taggart
Modified: 2012-12-12 07:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-23 17:15:44 UTC
Type: ---


Attachments (Terms of Use)

Description Bob Taggart 2011-11-23 16:20:55 UTC
Summary:

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

Detailed Description:

[nacl_helper_boo has a permissive type (chrome_sandbox_t). This access was not
denied.]

SELinux has denied the nacl_helper_boo from executing
/opt/google/chrome/nacl_helper_bootstrap. If nacl_helper_boo 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 nacl_helper_boo is not supposed to execute
/opt/google/chrome/nacl_helper_bootstrap, this could signal an intrusion
attempt.

Allowing Access:

If you want to allow nacl_helper_boo 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                        nacl_helper_boo
Source Path                   /opt/google/chrome/nacl_helper_bootstrap
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-beta-16.0.912.41-110024
Target RPM Packages           google-chrome-beta-16.0.912.41-110024
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.i686.PAE #1 SMP Wed Dec 1
                              21:45:50 UTC 2010 i686 i686
Alert Count                   4
First Seen                    Wed 23 Nov 2011 11:13:23 AM EST
Last Seen                     Wed 23 Nov 2011 11:16:38 AM EST
Local ID                      18cc8960-37de-4420-9df0-07bde90e46fe
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1322064998.363:1124): avc:  denied  { execute } for  pid=20572 comm="chrome" name="nacl_helper_bootstrap" dev=dm-0 ino=655772 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usr_t:s0 tclass=file

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

node=(removed) type=SYSCALL msg=audit(1322064998.363:1124): arch=40000003 syscall=11 success=yes exit=0 a0=b7c1450c a1=b7c126a0 a2=bfef71d0 a3=b7c126a0 items=0 ppid=1 pid=20572 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="nacl_helper_boo" exe="/opt/google/chrome/nacl_helper_bootstrap" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



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

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t usr_t:file { execute execute_no_trans };

Comment 1 Daniel Walsh 2011-11-23 17:15:44 UTC
Fedora 12 has not been supported for a while update to 15 or 16.


Note You need to log in before you can comment on or make changes to this bug.