Bug 850780 - SELinux is preventing /opt/google/chrome/chrome (deleted) from 'getattr' accesses on the file /media/Union/PLAY/Picture/L78Z/suse.jpg.
SELinux is preventing /opt/google/chrome/chrome (deleted) from 'getattr' acce...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-08-22 08:13 EDT by extendvg@gmail.com
Modified: 2012-08-22 09:22 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-22 09:22:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description extendvg@gmail.com 2012-08-22 08:13:42 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.7-1.fc16.x86_64
time:           2012年08月22日 星期三 20时09分10秒

:SELinux is preventing /opt/google/chrome/chrome (deleted) from 'getattr' accesses on the file /media/Union/PLAY/Picture/L78Z/suse.jpg.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that chrome (deleted) should be allowed getattr access on the suse.jpg file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:allow this access for now by executing:
:# grep Chrome_ChildIOT /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                /media/Union/PLAY/Picture/L78Z/suse.jpg [ file ]
:Source                        Chrome_ChildIOT
:Source Path                   /opt/google/chrome/chrome (deleted)
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-90.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.7-1.fc16.x86_64 #1 SMP Mon
:                              Jul 30 16:37:23 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012年08月17日 星期五 19时12分18秒
:Last Seen                     2012年08月17日 星期五 19时12分18秒
:Local ID                      3862bdf9-69f1-4134-bd71-21bed165c934
:Raw Audit Messages
:type=AVC msg=audit(1345201938.880:155): avc:  denied  { getattr } for  pid=8967 comm="Chrome_ChildIOT" path="/media/Union/PLAY/Picture/L78Z/suse.jpg" dev="sda5" ino=22512 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(1345201938.880:155): arch=x86_64 syscall=fstat success=yes exit=0 a0=1f a1=7f2c40006260 a2=7f2c40006260 a3=1 items=0 ppid=2 pid=8967 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm=Chrome_ChildIOT exe=2F6F70742F676F6F676C652F6368726F6D652F6368726F6D65202864656C6574656429 subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)
:Hash: Chrome_ChildIOT,chrome_sandbox_t,fusefs_t,file,getattr
:#============= chrome_sandbox_t ==============
:#!!!! This avc can be allowed using the boolean 'use_fusefs_home_dirs'
:allow chrome_sandbox_t fusefs_t:file getattr;
:audit2allow -R
:#============= chrome_sandbox_t ==============
:#!!!! This avc can be allowed using the boolean 'use_fusefs_home_dirs'
:allow chrome_sandbox_t fusefs_t:file getattr;
Comment 1 Miroslav Grepl 2012-08-22 09:22:05 EDT
You can allow it using

setsebool -P use_fusefs_home_dirs 1

Note You need to log in before you can comment on or make changes to this bug.