Bug 729752

Summary: SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the file /home/wjbealer/.gvfs/new_volume%28a3%29 on bk-hb6b5c44.local/PUBLIC/Fonts/ARIALN.TTF.
Product: [Fedora] Fedora Reporter: Wayne Jonas Bealer <wjbealer>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:53ec6be7556e17808722b5d0e513ba1ef8487fed36dd45cf27215fa6e28c79c3
Fixed In Version: selinux-policy-3.9.16-38.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 00:18:24 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 Wayne Jonas Bealer 2011-08-10 18:14:17 UTC
SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the file /home/wjbealer/.gvfs/new_volume%28a3%29 on bk-hb6b5c44.local/PUBLIC/Fonts/ARIALN.TTF.

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

If you believe that chrome should be allowed read access on the ARIALN.TTF 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 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                system_u:object_r:fusefs_t:s0
Target Objects                /home/wjbealer/.gvfs/new_volume%28a3%29 on bk-
                              hb6b5c44.local/PUBLIC/Fonts/ARIALN.TTF [ file ]
Source                        chrome
Source Path                   /opt/google/chrome/chrome
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-stable-13.0.782.112-95650
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-35.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.40-4.fc15.i686 #1 SMP Fri Jul 29 18:54:39 UTC
                              2011 i686 i686
Alert Count                   631
First Seen                    Mon 04 Jul 2011 11:31:14 AM EDT
Last Seen                     Wed 10 Aug 2011 02:09:35 PM EDT
Local ID                      9d38da18-bf92-4dc2-a6b1-8e6acc3141ce

Raw Audit Messages
type=AVC msg=audit(1312999775.583:74): avc:  denied  { read } for  pid=2332 comm="chrome" path=2F686F6D652F776A6265616C65722F2E677666732F6E65775F766F6C756D652532386133253239206F6E20626B2D68623662356334342E6C6F63616C2F5055424C49432F466F6E74732F415249414C4E2E545446 dev=fuse ino=6 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fusefs_t:s0 tclass=file


type=SYSCALL msg=audit(1312999775.583:74): arch=i386 syscall=socketcall success=yes exit=ENOEXEC a0=11 a1=bfcab000 a2=1a a3=0 items=0 ppid=1 pid=2332 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: chrome,chrome_sandbox_t,fusefs_t,file,read

audit2allow

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t fusefs_t:file read;

audit2allow -R

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t fusefs_t:file read;

Comment 1 Miroslav Grepl 2011-08-11 08:03:07 UTC
Added the use_fusefs_home_dirs boolean for chrome_sandbox_t

Fixed in selinux-policy-3.9.16-38.fc15

Comment 2 Fedora Update System 2011-08-11 20:39:17 UTC
selinux-policy-3.9.16-38.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-38.fc15

Comment 3 Fedora Update System 2011-08-12 18:19:56 UTC
Package selinux-policy-3.9.16-38.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-38.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-38.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-09-07 00:17:03 UTC
selinux-policy-3.9.16-38.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.