Summary: SELinux is preventing swriter.bin from loading /opt/jre1.6.0_16/lib/i386/client/libjvm.so which requires text relocation. Detailed Description: The swriter.bin application attempted to load /opt/jre1.6.0_16/lib/i386/client/libjvm.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 /opt/jre1.6.0_16/lib/i386/client/libjvm.so to use relocation as a workaround, until the library is fixed. Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package. Allowing Access: If you trust /opt/jre1.6.0_16/lib/i386/client/libjvm.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/opt/jre1.6.0_16/lib/i386/client/libjvm.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 '/opt/jre1.6.0_16/lib/i386/client/libjvm.so'" Fix Command: chcon -t textrel_shlib_t '/opt/jre1.6.0_16/lib/i386/client/libjvm.so' Additional Information: Source Context unconfined_u:unconfined_r:unconfined_execmem_t:s0- s0:c0.c1023 Target Context unconfined_u:object_r:usr_t:s0 Target Objects /opt/jre1.6.0_16/lib/i386/client/libjvm.so [ file ] Source swriter.bin Source Path /usr/lib/openoffice.org3/program/swriter.bin Port <Unknown> Host (removed) Source RPM Packages openoffice.org-writer-3.1.1-19.1.fc11 Target RPM Packages Policy RPM selinux-policy-3.6.12-80.fc11 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Enforcing Plugin Name allow_execmod Host Name (removed) Platform Linux (removed) 2.6.29.6-217.2.16.fc11.i586 #1 SMP Mon Aug 24 17:01:46 EDT 2009 i686 i686 Alert Count 2 First Seen Wed 02 Sep 2009 10:16:14 AM CEST Last Seen Wed 02 Sep 2009 10:17:04 AM CEST Local ID f43b1afc-d645-49a1-9841-5a2895aa7457 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1251879424.397:20284): avc: denied { execmod } for pid=7318 comm="swriter.bin" path="/opt/jre1.6.0_16/lib/i386/client/libjvm.so" dev=sda3 ino=87754 scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1251879424.397:20284): arch=40000003 syscall=125 success=no exit=-13 a0=b1331000 a1=466000 a2=5 a3=bfcd92a0 items=0 ppid=7308 pid=7318 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="swriter.bin" exe="/usr/lib/openoffice.org3/program/swriter.bin" subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.12-80.fc11,allow_execmod,swriter.bin,unconfined_execmem_t,usr_t,file,execmod audit2allow suggests: #============= unconfined_execmem_t ============== allow unconfined_execmem_t usr_t:file execmod;
*** This bug has been marked as a duplicate of bug 538428 ***