Bug 1123474 - SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from using the 'sigchld' accesses on a process.
Summary: SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from using the...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:b29323055dac908a7ff8fff874e...
Depends On:
TreeView+ depends on / blocked
Reported: 2014-07-25 19:14 UTC by Alex Villacís Lasso
Modified: 2014-08-21 09:46 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-180.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-08-21 09:46:44 UTC

Attachments (Terms of Use)

Description Alex Villacís Lasso 2014-07-25 19:14:12 UTC
Description of problem:
SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from using the 'sigchld' accesses on a process.

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

If usted desea usar el paquete plugin
Then debe apagar los controles SELinuxsobre los plugins Chrome.
# setsebool -P unconfined_chrome_sandbox_transition 0

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

If cree que de manera predeterminada, nacl_helper_bootstrap debería permitir acceso sigchld sobre procesos etiquetados como chrome_sandbox_nacl_t.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
permita el acceso momentáneamente executando:
# 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
Target Context                unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0
Target Objects                 [ process ]
Source                        nacl_helper_boo
Source Path                   /opt/google/chrome/nacl_helper_bootstrap
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-stable-36.0.1985.125-1.i386
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-177.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.15.6-200.fc20.i686+PAE #1 SMP
                              Fri Jul 18 03:01:10 UTC 2014 i686 i686
Alert Count                   1
First Seen                    2014-07-25 14:09:04 ECT
Last Seen                     2014-07-25 14:09:04 ECT
Local ID                      6503060a-af47-4fb0-975d-fdb9f21e5132

Raw Audit Messages
type=AVC msg=audit(1406315344.717:395): avc:  denied  { sigchld } for  pid=2333 comm="nacl_helper_boo" scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 tclass=process

type=SYSCALL msg=audit(1406315344.717:395): arch=i386 syscall=waitpid success=yes exit=ENOENT a0=2 a1=0 a2=0 a3=5 items=0 ppid=2332 pid=2333 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=pts0 ses=2 comm=nacl_helper_boo exe=/opt/google/chrome/nacl_helper_bootstrap subj=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 key=(null)

Hash: nacl_helper_boo,chrome_sandbox_t,chrome_sandbox_nacl_t,process,sigchld

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.15.6-200.fc20.i686+PAE
type:           libreport

Comment 1 Miroslav Grepl 2014-07-31 20:34:38 UTC
commit 90813398a69195ca8c7a46f1156bf7975392bfaf
Author: Miroslav Grepl <mgrepl@redhat.com>
Date:   Thu Jul 31 22:33:31 2014 +0200

    Allow nacl_helper_boo running in :chrome_sandbox_t to send SIGCHLD to chrome_sandbox_nacl_t.

Comment 2 Fedora Update System 2014-08-13 12:09:19 UTC
selinux-policy-3.12.1-180.fc20 has been submitted as an update for Fedora 20.

Comment 3 Fedora Update System 2014-08-16 00:30:40 UTC
Package selinux-policy-3.12.1-180.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-180.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-08-21 09:46:44 UTC
selinux-policy-3.12.1-180.fc20 has been pushed to the Fedora 20 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.