Bug 749905 - SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute_no_trans' accesses on the file /opt/google/chrome/nacl_helper_bootstrap.
Summary: SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: 0xFFFF
Version: 15
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8f27c899179...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-28 20:16 UTC by Paulo Sedrez
Modified: 2011-12-04 02:38 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.9.16-48.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-04 02:38:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paulo Sedrez 2011-10-28 20:16:30 UTC
SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute_no_trans' accesses on the file /opt/google/chrome/nacl_helper_bootstrap.

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

If you believe that nacl_helper_bootstrap 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 nacl_helper_boo /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:chrome_sandbox_exec_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-stable-15.0.874.106-107270
Target RPM Packages           google-chrome-stable-15.0.874.106-107270
Policy RPM                    selinux-policy-3.9.16-39.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.40.6-0.fc15.i686.PAE #1 SMP Tue Oct 4 00:44:38
                              UTC 2011 i686 i686
Alert Count                   1
First Seen                    Fri 28 Oct 2011 06:04:29 PM BRST
Last Seen                     Fri 28 Oct 2011 06:04:29 PM BRST
Local ID                      b2f3adaf-d77e-44d0-a4a2-e76c1aee75c8

Raw Audit Messages
type=AVC msg=audit(1319832269.262:728): avc:  denied  { execute_no_trans } for  pid=15883 comm="chrome" path="/opt/google/chrome/nacl_helper_bootstrap" dev=dm-0 ino=7760 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:chrome_sandbox_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1319832269.262:728): arch=i386 syscall=execve success=yes exit=0 a0=b8fdf6cc a1=b8fd9780 a2=bfc919f0 a3=bfc919f0 items=0 ppid=1 pid=15883 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=20 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: nacl_helper_boo,chrome_sandbox_t,chrome_sandbox_exec_t,file,execute_no_trans

audit2allow

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

audit2allow -R

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

Comment 1 Miroslav Grepl 2011-10-31 11:16:26 UTC
Fixed in selinux-policy-3.9.16-45.fc15

which is available from koji for now

http://koji.fedoraproject.org/koji/buildinfo?buildID=270677

Comment 2 Fedora Update System 2011-11-16 16:19:59 UTC
selinux-policy-3.9.16-48.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-48.fc15

Comment 3 Fedora Update System 2011-11-17 23:38:22 UTC
Package selinux-policy-3.9.16-48.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-48.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16023/selinux-policy-3.9.16-48.fc15
then log in and leave karma (feedback).

Comment 4 Paulo Sedrez 2011-11-26 07:01:55 UTC
Apparently, this one did the trick: there are no more complains from SELinux as I run google-chrome.

Comment 5 Fedora Update System 2011-12-04 02:38:20 UTC
selinux-policy-3.9.16-48.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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