| Summary: | SELinux is preventing chrome from 'read' accesses on the file /home/tjw344f/.config/google-chrome/Dictionaries/en-US-2-1.bdic. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | terrance wickman <terrance.wickman> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, maidenleo2000, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:cf5d6e77606330ec8f4706895d0fa04ccb6bda44213661eba8029b6d15e4e4a2 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-11 14:10:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You have mislabeled file in your home dir. Execute # restorecon -R -v /home/tjw344f/.config/google-chrome Actually execute # restorecon -R -v /home/tjw344f *** Bug 720074 has been marked as a duplicate of this bug. *** |
SELinux is preventing chrome from 'read' accesses on the file /home/tjw344f/.config/google-chrome/Dictionaries/en-US-2-1.bdic. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/tjw344f/.config/google-chrome/Dictionaries/en-US-2-1.bdic default label should be config_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/tjw344f/.config/google-chrome/Dictionaries/en-US-2-1.bdic ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that chrome should be allowed read access on the en-US-2-1.bdic 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 unconfined_u:object_r:user_home_dir_t:s0 Target Objects /home/tjw344f/.config/google-chrome/Dictionaries /en-US-2-1.bdic [ file ] Source chrome Source Path chrome Port <Unknown> Host (removed) Source RPM Packages google-chrome-stable-12.0.742.112-90304 Target RPM Packages Policy RPM selinux-policy-3.9.16-32.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.8-32.fc15.x86_64 #1 SMP Mon Jun 13 19:49:05 UTC 2011 x86_64 x86_64 Alert Count 10 First Seen Wed 29 Jun 2011 09:29:10 PM CDT Last Seen Fri 08 Jul 2011 04:10:52 PM CDT Local ID b2d67c43-7787-4143-946c-a7914a16a048 Raw Audit Messages type=AVC msg=audit(1310159452.629:98): avc: denied { read } for pid=3593 comm="chrome" path="/home/tjw344f/.config/google-chrome/Dictionaries/en-US-2-1.bdic" dev=sda6 ino=1975979 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file type=SYSCALL msg=audit(1310159452.629:98): arch=x86_64 syscall=recvmsg success=yes exit=EPERM a0=15 a1=7f0f1b745e30 a2=40 a3=7fffffff items=0 ppid=1 pid=3593 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,user_home_dir_t,file,read audit2allow #============= chrome_sandbox_t ============== allow chrome_sandbox_t user_home_dir_t:file read; audit2allow -R #============= chrome_sandbox_t ============== allow chrome_sandbox_t user_home_dir_t:file read;