Bug 746524

Summary: SELinux is preventing /usr/lib/chromium-browser/chromium-browser from execmod access on the fichier /usr/lib/chromium-browser/chromium-browser
Product: [Fedora] Fedora Reporter: Stephane Konstantaropoulos <stephane>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: chad.schroeder, dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:24 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 Stephane Konstantaropoulos 2011-10-16 20:59:48 UTC
Description of problem:

SELinux is preventing /usr/lib/chromium-browser/chromium-browser from execmod access on the fichier /usr/lib/chromium-browser/chromium-browser

Version-Release number of selected component (if applicable):

libselinux-utils-2.0.99-4.fc15.i686
selinux-policy-targeted-3.9.16-39.fc15.noarch
libselinux-2.0.99-4.fc15.i686
selinux-policy-3.9.16-39.fc15.noarch
chromium-14.0.835.186-1.fc15.i686

How reproducible:

every time I start chromium-browser

Steps to Reproduce:
1. start chromium-browser
2. watch sealert pop up
  
Actual results:

chromium does not start, selinux alert

Expected results:

chromium to start

Additional info:

chromium from spot chromium stable repo

Comment 1 Miroslav Grepl 2011-10-17 06:44:03 UTC
Please update your policy

# yum update selinux-policy-targeted --enablerepo=updates-testing

Comment 2 Stephane Konstantaropoulos 2011-10-17 17:26:03 UTC
That command says no update found

Comment 3 Miroslav Grepl 2011-10-18 07:50:23 UTC
I apologize, the -39.fc15 release is the latest release. I am going to do a new update this week.

You can download pckgs from koji for now

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

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

Comment 7 Chad 2011-12-22 15:12:27 UTC
SELinux preventing xguest from starting chromium:

chromium-15.0.874.106-1.fc15.i686
selinux-policy-3.9.16-48.fc15.noarch
xguest-1.0.10-1.fc15.noarch

$ whoami
xguest

$ chromium-browser
/usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied

audit.log:

type=AVC msg=audit(1324566348.586:66): avc:  denied  { execmod } for  pid=1514 comm="chromium-browse" path="/usr/lib/chromium-browser/chromium-browser" dev=sda3 ino=134962 scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=system_u:object_r:execmem_exec_t:s0 tclass=file

type=SYSCALL msg=audit(1324566348.586:66): arch=40000003 syscall=125 success=no exit=-13 a0=b43a5000 a1=3475000 a2=5 a3=bf9a8f90 items=0 ppid=1495 pid=1514 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 ses=1 comm="chromium-browse" exe="/usr/lib/chromium-browser/chromium-browser" subj=xguest_u:xguest_r:xguest_t:s0 key=(null)