Bug 1067795
| Summary: | SELinux is preventing /usr/lib64/firefox/plugin-container from 'read' accesses on the file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rahul Sundaram <metherid> |
| 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: | 20 | CC: | bugzilla, dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:d5be1a36e97161ca3d62f2dad16fe0f7648be00cfe12f3b2ece2650d64848c94 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-21 21:03:26 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: | |||
Don't run firefox as root, very dangerous. *** This bug has been marked as a duplicate of bug 802021 *** *** Bug 1302465 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing /usr/lib64/firefox/plugin-container from 'read' accesses on the file . ***** Plugin mozplugger (99.1 confidence) suggests ************************ If you want to use the plugin package Then you must turn off SELinux controls on the Firefox plugins. Do # setsebool -P unconfined_mozilla_plugin_transition 0 ***** Plugin catchall (1.81 confidence) suggests ************************** If you believe that plugin-container should be allowed read 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 plugin-containe /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c 0.c1023 Target Context unconfined_u:object_r:admin_home_t:s0 Target Objects [ file ] Source plugin-containe Source Path /usr/lib64/firefox/plugin-container Port <Unknown> Host (removed) Source RPM Packages firefox-27.0-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-122.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.13.3-201.fc20.x86_64 #1 SMP Fri Feb 14 19:08:32 UTC 2014 x86_64 x86_64 Alert Count 2 First Seen 2014-02-20 20:27:57 EST Last Seen 2014-02-20 20:39:47 EST Local ID fc63fba6-6dcd-4e95-afc5-d9bd10440851 Raw Audit Messages type=AVC msg=audit(1392946787.535:684): avc: denied { read } for pid=17262 comm="plugin-containe" name="settings.sol" dev="dm-1" ino=537947 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file type=AVC msg=audit(1392946787.535:684): avc: denied { open } for pid=17262 comm="plugin-containe" path="/root/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/settings.sol" dev="dm-1" ino=537947 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file type=SYSCALL msg=audit(1392946787.535:684): arch=x86_64 syscall=open success=yes exit=EBUSY a0=7f0e61e04408 a1=0 a2=1b6 a3=7f0e5e509400 items=0 ppid=17179 pid=17262 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=27 tty=pts0 comm=plugin-containe exe=/usr/lib64/firefox/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: plugin-containe,mozilla_plugin_t,admin_home_t,file,read Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.3-201.fc20.x86_64 type: libreport Potential duplicate: bug 802021