Bug 841507
| Summary: | SELinux is preventing mplayer from 'execmod' accesses on the file /usr/lib/libmpg123.so.0.29.10. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | steinach2810 |
| 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: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f0980c7b3921a3f445ec5b18dc786034eaab67786cdf6058d7cc2f35a0a4d322 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-19 21:26:28 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: | |||
# semanage fcontext -a -t textrel_shlib_t '/usr/lib/libmpg123.so.0.29.10' # restorecon -v '/usr/lib/libmpg123.so.0.29.10' will fix it. |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.4-5.fc17.i686.PAE time: Thu 19 Jul 2012 12:03:06 PM EEST description: :SELinux is preventing mplayer from 'execmod' accesses on the file /usr/lib/libmpg123.so.0.29.10. : :***** Plugin allow_execmod (91.4 confidence) suggests ********************** : :If you want to allow mplayer to have execmod access on the libmpg123.so.0.29.10 file :Then you need to change the label on '/usr/lib/libmpg123.so.0.29.10' :Do :# semanage fcontext -a -t textrel_shlib_t '/usr/lib/libmpg123.so.0.29.10' :# restorecon -v '/usr/lib/libmpg123.so.0.29.10' : :***** Plugin catchall (9.59 confidence) suggests *************************** : :If you believe that mplayer should be allowed execmod access on the libmpg123.so.0.29.10 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 mplayer /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 system_u:object_r:lib_t:s0 :Target Objects /usr/lib/libmpg123.so.0.29.10 [ file ] :Source mplayer :Source Path mplayer :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages libmpg123-1.13.8-1.fc17.i686 :Policy RPM selinux-policy-3.10.0-137.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.4-5.fc17.i686.PAE : #1 SMP Thu Jul 5 20:09:45 UTC 2012 i686 i686 :Alert Count 6 :First Seen Thu 19 Jul 2012 12:01:16 PM EEST :Last Seen Thu 19 Jul 2012 12:01:17 PM EEST :Local ID ec0ea365-a34a-4d94-8f14-1ddf25c104a6 : :Raw Audit Messages :type=AVC msg=audit(1342688477.498:259): avc: denied { execmod } for pid=30911 comm="mplayer" path="/usr/lib/libmpg123.so.0.29.10" dev="dm-1" ino=1331612 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file : : :Hash: mplayer,mozilla_plugin_t,lib_t,file,execmod : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :