Bug 771684 - SELinux preventing xguest from starting chromium browser.
Summary: SELinux preventing xguest from starting chromium browser.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xguest
Version: 16
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-04 16:02 UTC by Chad
Modified: 2013-02-14 02:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-14 02:52:49 UTC
Type: ---


Attachments (Terms of Use)

Description Chad 2012-01-04 16:02:15 UTC
Description of problem:
SELinux preventing xguest from starting chromium browser.

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

xguest-1.0.10-2.fc16
selinux-policy-targeted-3.10.0-69.fc16.noarch
chromium-15.0.874.106-1.fc16.i686

How reproducible:
Login as "xguest" and run chromium-browser

Steps to Reproduce:
1. Login as xguest
2. Start chromium-browser
  
Actual results:

$ 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 results:

type=AVC msg=audit(1325691486.056:49): avc:  denied  { execmod } for  pid=1341 comm="chromium-browse" path="/usr/lib/chromium-browser/chromium-browser" dev=sda4 ino=40054 scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=system_u:object_r:execmem_exec_t:s0 tclass=file

type=SYSCALL msg=audit(1325691486.056:49): arch=40000003 syscall=125 success=no exit=-13 a0=b43e7000 a1=3475000 a2=5 a3=bf911f20 items=0 ppid=1270 pid=1341 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm="chromium-browse" exe="/usr/lib/chromium-browser/chromium-browser" subj=xguest_u:xguest_r:xguest_t:s0 key=(null)

Expected results:
The chromium browser should start.

Additional info:
Chromium browser from the following repository:
http://repos.fedorapeople.org/repos/spot/chromium-stable/

Comment 1 Chad 2012-01-05 21:18:07 UTC
Additional info:

# ls -lZ /usr/bin/chromium-browser 
-rwxrwxr-x. root root system_u:object_r:bin_t:s0       /usr/bin/chromium-browser

# ls -lZ /usr/lib/chromium-browser/chrome-sandbox 
-r-sr-xr-x. root root system_u:object_r:chrome_sandbox_exec_t:s0 /usr/lib/chromium-browser/chrome-sandbox

# ls -lZ /usr/lib/chromium-browser/chromium-browser 
-rwxr-xr-x. root root system_u:object_r:execmem_exec_t:s0 /usr/lib/chromium-browser/chromium-browser

# ls -lZ /usr/bin/firefox 
-rwxr-xr-x. root root system_u:object_r:bin_t:s0       /usr/bin/firefox

# ls -lZ /usr/lib/firefox/firefox 
-rwxr-xr-x. root root system_u:object_r:mozilla_exec_t:s0 /usr/lib/firefox/firefox

* xguest can start firefox

Comment 2 Daniel Walsh 2012-01-06 15:40:01 UTC
Miroslav lets allow this access, we have it fixed in F17, but I eliminated the execmem_exec_t type.

Comment 3 Chad 2012-01-11 15:19:41 UTC
Any progress or updates to report?

Comment 4 Miroslav Grepl 2012-01-11 19:04:43 UTC
Fixed in selinux-policy-3.10.0-72.fc16

Comment 5 Fedora End Of Life 2013-01-17 01:43:50 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Fedora End Of Life 2013-02-14 02:52:52 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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