Bug 789031 - SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the None /data/.config/google-chrome/Dictionaries/en-US-2-1.bdic.
Summary: SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the N...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7663455ea005842cc8f4bb35f4a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-09 16:13 UTC by Stef Walter
Modified: 2012-02-09 22:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-09 22:08:48 UTC
Type: ---


Attachments (Terms of Use)
Chrome crashing (30.80 KB, image/png)
2012-02-09 16:16 UTC, Stef Walter
no flags Details

Description Stef Walter 2012-02-09 16:13:44 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the None /data/.config/google-chrome/Dictionaries/en-US-2-1.bdic.
time:           Thu 09 Feb 2012 05:13:34 PM CET

description:
:SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the None /data/.config/google-chrome/Dictionaries/en-US-2-1.bdic.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that chrome should be allowed read access on the en-US-2-1.bdic <Unknown> 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:default_t:s0
:Target Objects                /data/.config/google-chrome/Dictionaries/en-
:                              US-2-1.bdic [ None ]
:Source                        chrome
:Source Path                   /opt/google/chrome/chrome
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           google-chrome-stable-17.0.963.46-119351.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.2.3-2.fc16.x86_64 #1 SMP Fri Feb 3 20:08:08 UTC
:                              2012 x86_64 x86_64
:Alert Count                   3
:First Seen                    Thu 09 Feb 2012 05:13:13 PM CET
:Last Seen                     Thu 09 Feb 2012 05:13:16 PM CET
:Local ID                      258be458-88fc-4768-82e7-f23c1814345f
:
:Raw Audit Messages
:type=AVC msg=audit(1328803996.744:449): avc:  denied  { read } for  pid=7189 comm="chrome" path="/data/.config/google-chrome/Dictionaries/en-US-2-1.bdic" dev=dm-3 ino=7340262 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:default_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328803996.744:449): arch=c000003e syscall=47 success=yes exit=1 a0=16 a1=7f5759adbe20 a2=40 a3=7f576fad8b70 items=0 ppid=1 pid=7189 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=13 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,default_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Stef Walter 2012-02-09 16:15:22 UTC
This causes chrome to crash by the way. See screenshot.

Comment 2 Stef Walter 2012-02-09 16:16:22 UTC
Created attachment 560630 [details]
Chrome crashing

Comment 3 Daniel Walsh 2012-02-09 22:08:48 UTC
Is data your homedir?

# semanage fcontext -a -e /home/stefw /data
# restorecon -R -v /data


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