Bug 576827 - SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access on /tmp.
Summary: SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" acce...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:406f181907d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-25 11:26 UTC by ishan
Modified: 2015-12-20 06:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-03 13:32:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ishan 2010-03-25 11:26:50 UTC
Summary:

SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access
on /tmp.

Detailed Description:

[chrome-sandbox has a permissive type (chrome_sandbox_t). This access was not
denied.]

SELinux denied access requested by chrome-sandbox. It is not expected that this
access is required by chrome-sandbox and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                /tmp [ filesystem ]
Source                        chrome-sandbox
Source Path                   /usr/lib/chromium-browser/chrome-sandbox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-5.0.355.0-0.1.20100315svn41615.fc12
Target RPM Packages           filesystem-2.4.30-2.fc12
Policy RPM                    selinux-policy-3.6.32-103.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.9-70.fc12.i686 #1 SMP Wed Mar 3
                              05:14:32 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Thu 25 Mar 2010 06:52:25 PM IST
Last Seen                     Thu 25 Mar 2010 06:52:25 PM IST
Local ID                      0b2459a9-1951-41f1-924c-8a58aae9b1ce
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1269523345.835:16): avc:  denied  { getattr } for  pid=5443 comm="chrome-sandbox" name="/" dev=tmpfs ino=12987 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=filesystem

node=(removed) type=SYSCALL msg=audit(1269523345.835:16): arch=40000003 syscall=268 success=yes exit=0 a0=804a057 a1=54 a2=bfdb279c a3=bfdb279c items=0 ppid=0 pid=5443 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="chrome-sandbox" exe="/usr/lib/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0 key=(null)



Hash String generated from  catchall,chrome-sandbox,chrome_sandbox_t,tmp_t,filesystem,getattr
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t tmp_t:filesystem getattr;

Comment 1 Daniel Walsh 2010-03-25 17:00:26 UTC
How is you /tmp mounted?  This is a strange AVC.

Are you using tmpfs?

Comment 2 Bug Zapper 2010-11-03 18:39:17 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  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 '12'.

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 12'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 12 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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


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