SELinux is preventing /usr/lib/firefox-3.6/firefox from loading /home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so which requires text relocation.
Summary:
SELinux is preventing /usr/lib/firefox-3.6/firefox from loading
/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so which requires
text relocation.
Detailed Description:
The firefox application attempted to load
/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so which requires
text relocation. This is a potential security problem. Most libraries do not
need this permission. Libraries are sometimes coded incorrectly and request this
permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so to use
relocation as a workaround, until the library is fixed. Please file a bug
report.
Allowing Access:
If you trust /home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so
to run correctly, you can change the file context to textrel_shlib_t. "chcon -t
textrel_shlib_t
'/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so'" You must
also change the default file context files on the system in order to preserve
them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t
'/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so'"
Fix Command:
chcon -t textrel_shlib_t
'/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so'
Additional Information:
Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Context unconfined_u:object_r:user_home_t:s0
Target Objects /home/kristjan/.quakelive/quakelive/home/baseq3/qu
akelive.i386.so [ file ]
Source firefox
Source Path /usr/lib/firefox-3.6/firefox
Port <Unknown>
Host (removed)
Source RPM Packages firefox-3.6.3-4.fc13
Target RPM Packages
Policy RPM selinux-policy-3.7.19-15.fc13
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name (removed)
Platform Linux (removed) 2.6.33.3-85.fc13.i686 #1 SMP Thu May 6
18:44:12 UTC 2010 i686 i686
Alert Count 1
First Seen Mon 17 May 2010 08:05:33 PM EEST
Last Seen Mon 17 May 2010 08:05:33 PM EEST
Local ID 3ace822e-8c29-4f7d-9bf6-dec8ad717c12
Line Numbers
Raw Audit Messages
node=(removed) type=AVC msg=audit(1274115933.70:19978): avc: denied { execmod } for pid=2000 comm="firefox" path="/home/kristjan/.quakelive/quakelive/home/baseq3/quakelive.i386.so" dev=sda2 ino=131885 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
node=(removed) type=SYSCALL msg=audit(1274115933.70:19978): arch=40000003 syscall=125 success=no exit=-13 a0=a57ce000 a1=2e2000 a2=5 a3=bfc0bf40 items=0 ppid=1983 pid=2000 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 String generated from allow_execmod,firefox,unconfined_t,user_home_t,file,execmod
audit2allow suggests:
#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execmod'
allow unconfined_t user_home_t:file execmod;