Bug 540531

Summary: SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "search" access on 1991.
Product: [Fedora] Fedora Reporter: Zack Cerza <zcerza>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: dwalsh, home, macroron, mgrepl, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:fed014199c5a82c91c4d506201866b63324c4850fa8cd0fdd751c53c847e94b4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 17:13:02 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 Zack Cerza 2009-11-23 15:30:25 UTC
Summary:

SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "search" access
on 1991.

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://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                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                1991 [ dir ]
Source                        chrome-sandbox
Source Path                   /usr/lib64/chromium-browser/chrome-sandbox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-4.0.252.0-0.1.20091119svn32498.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-46.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat
                              Nov 7 21:11:14 EST 2009 x86_64 x86_64
Alert Count                   15
First Seen                    Mon 23 Nov 2009 10:15:29 AM EST
Last Seen                     Mon 23 Nov 2009 10:25:50 AM EST
Local ID                      2c9c8fc1-d557-4fb0-989d-a315c9554788
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258989950.342:374): avc:  denied  { search } for  pid=15280 comm="chrome-sandbox" name="1991" dev=proc ino=16113 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=AVC msg=audit(1258989950.342:374): avc:  denied  { read } for  pid=15280 comm="chrome-sandbox" name="fd" dev=proc ino=1625475 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=AVC msg=audit(1258989950.342:374): avc:  denied  { open } for  pid=15280 comm="chrome-sandbox" name="fd" dev=proc ino=1625475 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258989950.342:374): arch=c000003e syscall=2 success=yes exit=128 a0=7fff2412cbc0 a1=90800 a2=7fff2412cbcd a3=1999999999999999 items=0 ppid=15274 pid=15280 auid=501 uid=501 gid=501 euid=0 suid=0 fsuid=0 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm="chrome-sandbox" exe="/usr/lib64/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-46.fc12,catchall,chrome-sandbox,chrome_sandbox_t,unconfined_t,dir,search
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t unconfined_t:dir { read search open };

Comment 1 Zack Cerza 2009-11-23 15:34:13 UTC
Sorry if these are dupes of bug 540529; didn't want to miss anything.

Comment 2 Daniel Walsh 2009-11-23 17:13:02 UTC

*** This bug has been marked as a duplicate of bug 540529 ***