Bug 669292

Summary: SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the file /tmp/.com.google.chrome.qJTBbu.
Product: [Fedora] Fedora Reporter: James Cape <jamescape777>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, ja, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:8082e7e0621a87d13d83bd81f0701f929cd3cedb15e4e1f67a73ef5ff4b98dbe
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 20:37:36 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 James Cape 2011-01-13 08:32:08 UTC
SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the file /tmp/.com.google.chrome.qJTBbu.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that chrome should be allowed write access on the .com.google.chrome.qJTBbu file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep /opt/google/chrome/chrome /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:tmp_t:s0
Target Objects                /tmp/.com.google.chrome.qJTBbu [ file ]
Source                        chrome
Source Path                   /opt/google/chrome/chrome
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-beta-9.0.597.45-70550
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-19.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.10-75.low_ack.fc14.x86_64 #1 SMP Mon Jan 3
                              11:40:42 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Thu 13 Jan 2011 08:30:22 AM GMT
Last Seen                     Thu 13 Jan 2011 08:30:33 AM GMT
Local ID                      64632cb5-d470-46f9-b21e-25ef313c246b

Raw Audit Messages
type=AVC msg=audit(1294907433.225:267): avc:  denied  { write } for  pid=6871 comm="chrome" path="/tmp/.com.google.chrome.qJTBbu" dev=dm-1 ino=33975 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=file

chrome,chrome_sandbox_t,tmp_t,file,write
type=SYSCALL msg=audit(1294907433.225:267): arch=x86_64 syscall=recvmsg success=yes exit=EPERM a0=13 a1=7f34fc60d630 a2=40 a3=ffffffff items=0 ppid=1 pid=6871 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)
chrome,chrome_sandbox_t,tmp_t,file,write

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t tmp_t:file write;

Comment 1 Miroslav Grepl 2011-01-13 14:15:53 UTC
Any chance you could try to use chromium from Tom "Spot" Callaway available on

http://repos.fedorapeople.org/repos/spot/chromium/

and try to recreate it.