Bug 981621
| Summary: | SELinux is preventing /opt/google/chrome/chrome from append, open access on the file /home/vadim/libpeerconnection.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vadim <vadims.zenins> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4f001df86e0802e07194fc68413c150eab64de05cbda84b73a7b1b70fc56ec7f | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-10 16:51:20 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: | |||
*** This bug has been marked as a duplicate of bug 960792 *** |
Description of problem: Chrome start SELinux is preventing /opt/google/chrome/chrome from append, open access on the file /home/vadim/libpeerconnection.log. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/vadim/libpeerconnection.log default label should be user_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/vadim/libpeerconnection.log ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that chrome should be allowed append open access on the libpeerconnection.log 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/vadim/libpeerconnection.log [ file ] Source chrome Source Path /opt/google/chrome/chrome Port <Unknown> Host (removed) Source RPM Packages google-chrome-stable-28.0.1500.71-209842.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-57.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.8-300.fc19.x86_64 #1 SMP Thu Jun 27 19:24:23 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-07-05 10:23:39 IST Last Seen 2013-07-05 10:23:39 IST Local ID 6b51ba81-d306-4413-8f42-2f42bc800155 Raw Audit Messages type=AVC msg=audit(1373016219.552:1122): avc: denied { append open } for pid=11989 comm="chrome" path="/home/vadim/libpeerconnection.log" dev="dm-1" ino=1707025 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(1373016219.552:1122): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd486ce6588 a1=441 a2=1b6 a3=ffffe000 items=0 ppid=0 pid=11989 auid=7001 uid=7001 gid=7001 euid=7001 suid=7001 fsuid=7001 egid=7001 sgid=7001 fsgid=7001 ses=3 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_home_dir_t,file,append,open Additional info: reporter: libreport-2.1.5 hashmarkername: setroubleshoot kernel: 3.9.8-300.fc19.x86_64 type: libreport Potential duplicate: bug 975393