Bug 919652
| Summary: | SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'create' accesses on the directory POkemon Advanced Adventure. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | odp94 |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:a61fa43a6d156686e5244578da32274c506accffc0f8effb61d08bbd27bb99f4 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-14 03:01:09 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: | |||
You could create a directory "POkemon Advanced Adventure" and label it mozilla_home_t. mkdir ~/"POkemon Advanced Adventure" chcon -t mozilla_home_t ~/"POkemon Advanced Adventure" Or you could turn off mozilla plugin protection. setsebool -P unconfined_mozilla_plugin_transition 0 f029221daf9d74ecf7ecbd490672efe9af7852ee fixes this in Rawhide, although it would be nice if all games though their content in a standard directory. selinux-policy-3.11.1-85.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18 Package selinux-policy-3.11.1-85.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-85.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-85.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'create' accesses on the directory POkemon Advanced Adventure. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that plugin-container should be allowed create access on the POkemon Advanced Adventure directory 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:user_home_t:s0 Target Objects POkemon Advanced Adventure [ dir ] Source plugin-containe Source Path /usr/lib64/xulrunner/plugin-container Port <Unknown> Host (removed) Source RPM Packages xulrunner-18.0.2-1.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-78.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.8-202.fc18.x86_64 #1 SMP Fri Feb 15 17:33:07 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-09 07:41:38 GMT Last Seen 2013-03-09 07:41:38 GMT Local ID bcebbf76-42f3-4138-86ca-dc9fef041c3e Raw Audit Messages type=AVC msg=audit(1362814898.648:366): avc: denied { create } for pid=2180 comm="plugin-containe" name=504F6B656D6F6E20416476616E63656420416476656E74757265 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir type=SYSCALL msg=audit(1362814898.648:366): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7f6bfb4bd680 a1=1ff a2=7ffff8dc0d78 a3=aaaaaaaaaaaaaaab items=0 ppid=2000 pid=2180 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: plugin-containe,mozilla_plugin_t,user_home_t,dir,create audit2allow #============= mozilla_plugin_t ============== allow mozilla_plugin_t user_home_t:dir create; audit2allow -R #============= mozilla_plugin_t ============== allow mozilla_plugin_t user_home_t:dir create; Additional info: hashmarkername: setroubleshoot kernel: 3.7.8-202.fc18.x86_64 type: libreport Potential duplicate: bug 823699