Bug 753996 - SELinux is preventing /usr/lib64/chromium-browser/chromium-browser from 'execute_no_trans' accesses on the file /usr/lib64/chromium-browser/nacl_helper_bootstrap.
Summary: SELinux is preventing /usr/lib64/chromium-browser/chromium-browser from 'exec...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:0eedc7a8105...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-15 03:49 UTC by Adam Goode
Modified: 2011-11-17 23:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-15 10:48:58 UTC
Type: ---


Attachments (Terms of Use)

Description Adam Goode 2011-11-15 03:49:02 UTC
SELinux is preventing /usr/lib64/chromium-browser/chromium-browser from 'execute_no_trans' accesses on the file /usr/lib64/chromium-browser/nacl_helper_bootstrap.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that chromium-browser should be allowed execute_no_trans access on the nacl_helper_bootstrap 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 chromium-browse /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib64/chromium-browser/nacl_helper_bootstrap
                              [ file ]
Source                        chromium-browse
Source Path                   /usr/lib64/chromium-browser/chromium-browser
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-15.0.874.106-1.fc15
Target RPM Packages           chromium-15.0.874.106-1.fc15
Policy RPM                    selinux-policy-3.9.16-44.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue
                              Aug 30 14:38:32 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 14 Nov 2011 10:43:05 PM EST
Last Seen                     Mon 14 Nov 2011 10:43:05 PM EST
Local ID                      670dc96a-fc17-4d20-a8b1-1433369098e7

Raw Audit Messages
type=AVC msg=audit(1321328585.192:4254): avc:  denied  { execute_no_trans } for  pid=5117 comm="chromium-browse" path="/usr/lib64/chromium-browser/nacl_helper_bootstrap" dev=dm-2 ino=262829 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file


type=SYSCALL msg=audit(1321328585.192:4254): arch=x86_64 syscall=execve success=no exit=EACCES a0=7fe5b5b53f68 a1=7fe5b5b75e40 a2=7fff80047c30 a3=7fff80044aa0 items=0 ppid=1 pid=5117 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=chromium-browse exe=/usr/lib64/chromium-browser/chromium-browser subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)

Hash: chromium-browse,chrome_sandbox_t,lib_t,file,execute_no_trans

audit2allow

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

audit2allow -R

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

Comment 1 Miroslav Grepl 2011-11-15 10:48:58 UTC
Please update to the latest F15 policy.

# yum update selinux-policy-targeted


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