Bug 1081602

Summary: SELinux is preventing /opt/google/chrome/nacl_helper from 'execute' accesses on the file .
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dominick.grift, dwalsh, lvrabec, mgrepl, roysjosh, stufixlp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ca5093218269ee59d29957d4583e7af7d2d058891cdfc3d266867bd40fcc3c45
Fixed In Version: selinux-policy-3.12.1-153.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-20 01:25:13 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 Mikhail 2014-03-27 16:39:38 UTC
Description of problem:
SELinux is preventing /opt/google/chrome/nacl_helper from 'execute' accesses on the file .

*****  Plugin chrome (98.5 confidence) suggests   ****************************

If you want to use the plugin package
Then you must turn off SELinux controls on the Chrome plugins.
Do
# setsebool -P unconfined_chrome_sandbox_transition 0

*****  Plugin catchall (2.46 confidence) suggests   **************************

If you believe that nacl_helper should be allowed execute access on the  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 /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                unconfined_u:object_r:config_home_t:s0
Target Objects                 [ file ]
Source                        nacl_helper
Source Path                   /opt/google/chrome/nacl_helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-unstable-35.0.1897.2-1.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-135.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.7-200.fc20.x86_64 #1 SMP Mon
                              Mar 24 22:01:49 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-03-27 22:39:10 YEKT
Last Seen                     2014-03-27 22:39:10 YEKT
Local ID                      4a12569d-d424-4072-bf66-091874e4e516

Raw Audit Messages
type=AVC msg=audit(1395938350.960:384): avc:  denied  { execute } for  pid=3376 comm="nacl_helper" path="/home/mikhail/.config/google-chrome-unstable/Default/Extensions/fahmaaghhglfmonjliepjlchgpgfmobi/1.160.5.5745_0/_platform_specific/x86-64/MusicManager_x86_64.nexe" dev="sdb1" ino=387900 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file


type=SYSCALL msg=audit(1395938350.960:384): arch=x86_64 syscall=mprotect success=no exit=EACCES a0=57c001000000 a1=cf0000 a2=5 a3=57c001000000 items=0 ppid=5 pid=3376 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=pts3 comm=nacl_helper exe=/opt/google/chrome/nacl_helper subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)

Hash: nacl_helper,chrome_sandbox_t,config_home_t,file,execute

Additional info:
reporter:       libreport-2.2.0
hashmarkername: setroubleshoot
kernel:         3.13.7-200.fc20.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-03-30 18:20:33 UTC
097a4a9d2a9d628619e930b6c358610b53dfd711 fixes this in git.

Comment 2 Fedora Update System 2014-04-08 04:49:00 UTC
selinux-policy-3.12.1-152.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-152.fc20

Comment 3 Fedora Update System 2014-04-09 13:16:48 UTC
Package selinux-policy-3.12.1-152.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.12.1-152.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-152.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-04-14 22:42:27 UTC
Package selinux-policy-3.12.1-153.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.12.1-153.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-153.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-04-20 01:25:13 UTC
selinux-policy-3.12.1-153.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.