Bug 1211799
| Summary: | SELinux is preventing /opt/google/chrome/chrome-sandbox from 'write' accesses on the file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Greg <greg.a.metcalfe> |
| 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: | 20 | CC: | angiolucci, dominick.grift, dwalsh, jvwaldo, lfelia, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:970de26506863147140f7a67a0364a94221f81a69330b256f836a0c5acf4be8b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-15 14:29:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: I recently updated Google Chrome. When I started it tonight (Clicked Chrome in XFCE Internet menu/Fedora 20 xfce spin) the SELINUX alert popped up. Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.19.3-100.fc20.x86_64 type: libreport Description of problem: Started after updating to google-chrome-stable-42.0.2311.90-1.x86_64 Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.18.9-100.fc20.x86_64 type: libreport Fix is in your report: ***** Plugin chrome (98.5 confidence) suggests **************************** If you want to use the plugin package Then you must turn off SELinux controls on the Chrome plugins. Do # setsebool -P unconfined_chrome_sandbox_transition 0 |
Description of problem: Launch Google Chrome SE alert generated on launch. SELinux is preventing /opt/google/chrome/chrome-sandbox from 'write' accesses on the file . ***** Plugin chrome (98.5 confidence) suggests **************************** If you want to use the plugin package Then you must turn off SELinux controls on the Chrome plugins. Do # setsebool -P unconfined_chrome_sandbox_transition 0 ***** Plugin catchall (2.46 confidence) suggests ************************** If you believe that chrome-sandbox should be allowed write access on the 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-sandbox /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:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects [ file ] Source chrome-sandbox Source Path /opt/google/chrome/chrome-sandbox Port <Unknown> Host (removed) Source RPM Packages google-chrome-stable-42.0.2311.90-1.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-197.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.19.3-100.fc20.x86_64 #1 SMP Fri Mar 27 16:53:47 UTC 2015 x86_64 x86_64 Alert Count 13 First Seen 2015-04-14 15:38:28 PDT Last Seen 2015-04-14 15:38:29 PDT Local ID 6724cb7f-c7a0-43f8-9b61-40ba6e043a81 Raw Audit Messages type=AVC msg=audit(1429051109.767:608): avc: denied { write } for pid=6445 comm="chrome-sandbox" name="oom_adj" dev="proc" ino=71532 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file permissive=0 type=SYSCALL msg=audit(1429051109.767:608): arch=x86_64 syscall=openat success=no exit=EACCES a0=3 a1=402138 a2=1 a3=0 items=0 ppid=6296 pid=6445 auid=1000 uid=1000 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=chrome-sandbox exe=/opt/google/chrome/chrome-sandbox subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null) Hash: chrome-sandbox,chrome_sandbox_t,unconfined_t,file,write Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.19.3-100.fc20.x86_64 type: libreport Potential duplicate: bug 896177