Bug 744736

Summary: SELinux is preventing /opt/google/chrome/chrome "execute_no_trans" access on /opt/google/chrome/chrome.
Product: [Fedora] Fedora Reporter: Jack Hui <jackiehui>
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: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e9045579a3a6034f173688cf5a7bd99f78929345cbb731110c5e09ba537d691e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-10 13:48:37 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 Jack Hui 2011-10-10 10:59:02 UTC
Summary:

SELinux is preventing /opt/google/chrome/chrome "execute_no_trans" access on
/opt/google/chrome/chrome.

Detailed Description:

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

SELinux denied access requested by chrome. It is not expected that this access
is required by chrome 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-s0:c
                              0.c1023
Target Context                system_u:object_r:textrel_shlib_t:s0
Target Objects                /opt/google/chrome/chrome [ file ]
Source                        chrome
Source Path                   /opt/google/chrome/chrome
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-stable-14.0.835.202-103287
Target RPM Packages           google-chrome-stable-14.0.835.202-103287
Policy RPM                    selinux-policy-3.6.32-127.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.26-175.fc12.i686 #1
                              SMP Wed Dec 1 21:52:04 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Sun 09 Oct 2011 03:09:09 PM PDT
Last Seen                     Mon 10 Oct 2011 02:14:38 AM PDT
Local ID                      010a0111-57b8-4dd9-8580-c78e486740d0
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1318238078.996:21): avc:  denied  { execute_no_trans } for  pid=2145 comm="chrome-sandbox" path="/opt/google/chrome/chrome" dev=dm-0 ino=3807099 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:textrel_shlib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1318238078.996:21): arch=40000003 syscall=11 success=yes exit=0 a0=bfb67962 a1=bfb66b48 a2=90500f8 a3=9050228 items=0 ppid=0 pid=2145 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="chrome" exe="/opt/google/chrome/chrome" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,chrome,chrome_sandbox_t,textrel_shlib_t,file,execute_no_trans
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t textrel_shlib_t:file execute_no_trans;

Comment 1 Miroslav Grepl 2011-10-10 13:48:37 UTC
F12 is no longer supported. Please use a newer version of Fedora. Thank you.