| Summary: | SELinux is preventing /opt/google/chrome/chrome from 'read' accesses on the None /data/.config/google-chrome/Dictionaries/en-US-2-1.bdic. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:7663455ea005842cc8f4bb35f4a9535672869b45350a1cfb68847d27ac109e30 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-02-09 22:08:48 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
This causes chrome to crash by the way. See screenshot. Created attachment 560630 [details]
Chrome crashing
Is data your homedir? # semanage fcontext -a -e /home/stefw /data # restorecon -R -v /data |
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 : :