Bug 671286

Summary: SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access on /proc/<pid>.
Product: [Fedora] Fedora Reporter: Stuart Minchington <sminchington>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:898f833cd75d51cb57ad1fc717df737f4b83c67265806bedaffe17bc442f5007
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-21 09:00:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stuart Minchington 2011-01-21 00:19:11 UTC
Summary:

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

Detailed Description:

[SELinux is in permissive mode. 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                system_u:system_r:gpm_t:s0
Target Objects                /proc/<pid> [ dir ]
Source                        chrome-sandbox
Source Path                   /usr/lib/chromium-browser/chrome-sandbox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-8.0.560.0-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat
                              Nov 7 21:25:57 EST 2009 i686 i686
Alert Count                   1
First Seen                    Thu 20 Jan 2011 04:08:13 PM PST
Last Seen                     Thu 20 Jan 2011 04:08:13 PM PST
Local ID                      7c58abe5-57de-49a4-acdd-df12574ab48d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1295568493.597:20621): avc:  denied  { getattr } for  pid=6789 comm="chrome-sandbox" path="/proc/1280" dev=proc ino=11230 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:system_r:gpm_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1295568493.597:20621): arch=40000003 syscall=195 success=yes exit=0 a0=bffe757c a1=bffe7514 a2=40fff4 a3=bffe8a32 items=0 ppid=6549 pid=6789 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=4 comm="chrome-sandbox" exe="/usr/lib/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,chrome-sandbox,chrome_sandbox_t,gpm_t,dir,getattr
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t gpm_t:dir getattr;

Comment 1 Miroslav Grepl 2011-01-21 09:00:43 UTC
F12 is no longer supported. Could you update to newer Fedora releases.