Bug 749602

Summary: SELinux is preventing nacl_helper_boo from using the 'share' accesses on a process.
Product: [Fedora] Fedora Reporter: Elias Oliveira de Jesus <flama.es>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dominick.grift, dwalsh, mgrepl, yohei2triton
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9f7e65fa31dcbb23b38bddf29cc8c989caf5f22a5551f7442b7d211b1fd5517e
Fixed In Version: selinux-policy-3.9.16-48.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-04 02:37:51 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 Elias Oliveira de Jesus 2011-10-27 16:19:00 UTC
SELinux is preventing nacl_helper_boo from using the 'share' accesses on a process.

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

If you believe that nacl_helper_boo should be allowed share access on processes labeled abrt_helper_t 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                unconfined_u:unconfined_r:abrt_helper_t:s0-s0:c0.c
                              1023
Target Objects                Unknown [ process ]
Source                        nacl_helper_boo
Source Path                   nacl_helper_boo
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
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.x86_64 #1 SMP Tue Oct
                              4 00:39:50 UTC 2011 x86_64 x86_64
Alert Count                   4
First Seen                    Qui 27 Out 2011 09:21:50 BRST
Last Seen                     Qui 27 Out 2011 14:07:55 BRST
Local ID                      b64705cd-51d3-49b1-bd48-5c4ca3e2c64a

Raw Audit Messages
type=AVC msg=audit(1319731675.84:99): avc:  denied  { share } for  pid=3032 comm="chrome" scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:abrt_helper_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1319731675.84:99): arch=x86_64 syscall=execve success=no exit=EPERM a0=7fbf17d43928 a1=7fbf17d58f00 a2=7fffa0f5d7a0 a3=7fffa0f595e0 items=0 ppid=1 pid=3032 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 subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)

Hash: nacl_helper_boo,chrome_sandbox_t,abrt_helper_t,process,share

audit2allow

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t abrt_helper_t:process share;

audit2allow -R

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t abrt_helper_t:process share;

Comment 1 Daniel Walsh 2011-10-27 17:48:26 UTC
Fixed in selinux-policy-3.9.16-45.fc15

Comment 2 Miroslav Grepl 2011-11-02 13:17:35 UTC
*** Bug 750680 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2011-11-16 16:19:27 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 4 Fedora Update System 2011-11-17 23:37:55 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 5 Fedora Update System 2011-12-04 02:37:51 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.