Bug 961857 - SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the directory libreport-2013-05-10-17:02:31.898161-29287.
Summary: SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the ...
Keywords:
Status: CLOSED DUPLICATE of bug 960798
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6218ead962e3320f428daeff4ec...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-10 15:09 UTC by redhat
Modified: 2013-05-10 19:15 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-10 19:15:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description redhat 2013-05-10 15:09:35 UTC
Description of problem:
Updating my chrome dev unstable last version
SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the directory libreport-2013-05-10-17:02:31.898161-29287.

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

If you believe that chrome should be allowed write access on the libreport-2013-05-10-17:02:31.898161-29287 directory 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                unconfined_u:object_r:user_tmp_t:s0
Target Objects                libreport-2013-05-10-17:02:31.898161-29287 [ dir ]
Source                        chrome
Source Path                   /opt/google/chrome/chrome
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-unstable-28.0.1500.5-199062.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-92.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.11-200.fc18.x86_64 #1 SMP Wed
                              May 1 19:44:27 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-05-10 17:02:55 CEST
Last Seen                     2013-05-10 17:02:55 CEST
Local ID                      c67fde87-d4a4-4933-b51b-d998335b6c18

Raw Audit Messages
type=AVC msg=audit(1368198175.130:950): avc:  denied  { write } for  pid=29445 comm="chrome" name="libreport-2013-05-10-17:02:31.898161-29287" dev="dm-3" ino=129807 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=dir


type=SYSCALL msg=audit(1368198175.130:950): arch=x86_64 syscall=open success=no exit=EACCES a0=7ff8e3fbd948 a1=441 a2=1b6 a3=0 items=0 ppid=0 pid=29445 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=7 tty=(none) 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,user_tmp_t,dir,write

audit2allow

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t user_tmp_t:dir write;

audit2allow -R
require {
	type chrome_sandbox_t;
}

#============= chrome_sandbox_t ==============
userdom_manage_user_tmp_dirs(chrome_sandbox_t)


Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.11-200.fc18.x86_64
type:           libreport

Potential duplicate: bug 960798

Comment 1 Daniel Walsh 2013-05-10 19:15:54 UTC

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


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