| Summary: | SELinux is preventing /usr/lib/firefox-3.6/firefox from 'execmod' accesses on the file /usr/lib/flash-plugin/libflashplayer.so. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James DeCambra <fedora> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13 | CC: | dominick.grift, dwalsh, mgrepl, m_montalvojr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:346782e5a139d3d813294629f0452f7ea7c13475112c2d9bdafb31119c4c915b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-12 13:32:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
The alert tells you what do to and fedora 13 is not supported. |
SELinux is preventing /usr/lib/firefox-3.6/firefox from 'execmod' accesses on the file /usr/lib/flash-plugin/libflashplayer.so. ***** Plugin allow_execmod (53.1 confidence) suggests ********************** If you want to allow firefox to have execmod access on the libflashplayer.so file Then you need to change the label on '/usr/lib/flash-plugin/libflashplayer.so' Do # semanage fcontext -a -t textrel_shlib_t '/usr/lib/flash-plugin/libflashplayer.so' # restorecon -v '/usr/lib/flash-plugin/libflashplayer.so' ***** Plugin catchall_boolean (42.6 confidence) suggests ******************* If you want to allow all unconfined executables to use libraries requiring text relocation that are not labeled textrel_shlib_t") Then you must tell SELinux about this by enabling the 'allow_execmod' boolean. Do setsebool -P allow_execmod 1 ***** Plugin catchall (5.76 confidence) suggests *************************** If you believe that firefox should be allowed execmod access on the libflashplayer.so 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 firefox /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context system_u:object_r:lib_t:s0 Target Objects /usr/lib/flash-plugin/libflashplayer.so [ file ] Source firefox Source Path /usr/lib/firefox-3.6/firefox Port <Unknown> Host (removed) Source RPM Packages firefox-3.6.17-1.fc13 Target RPM Packages flash-plugin-11.0.1.152-release Policy RPM selinux-policy-3.7.19-101.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.34.9-69.fc13.i686.PAE #1 SMP Tue May 3 09:13:56 UTC 2011 i686 i686 Alert Count 38 First Seen Tue 11 Oct 2011 07:58:46 AM EDT Last Seen Wed 12 Oct 2011 06:56:54 AM EDT Local ID bc10bb39-8129-44c1-ad40-461b4f8e8f13 Raw Audit Messages type=AVC msg=audit(1318417014.434:124): avc: denied { execmod } for pid=5987 comm="firefox" path="/usr/lib/flash-plugin/libflashplayer.so" dev=dm-0 ino=1449081 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file type=SYSCALL msg=audit(1318417014.434:124): arch=i386 syscall=mprotect success=no exit=EACCES a0=19db000 a1=fc7000 a2=5 a3=bf9ceb10 items=0 ppid=1 pid=5987 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=firefox exe=/usr/lib/firefox-3.6/firefox subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash: firefox,unconfined_t,lib_t,file,execmod audit2allow #============= unconfined_t ============== #!!!! This avc can be allowed using the boolean 'allow_execmod' allow unconfined_t lib_t:file execmod; audit2allow -R #============= unconfined_t ============== #!!!! This avc can be allowed using the boolean 'allow_execmod' allow unconfined_t lib_t:file execmod;