Summary: SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java from loading /home/art/.jagex_cache_32/runescape/libjaggl_dri.so which requires text relocation. Detailed Description: [SELinux is in permissive mode. This access was not denied.] The java application attempted to load /home/art/.jagex_cache_32/runescape/libjaggl_dri.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/art/.jagex_cache_32/runescape/libjaggl_dri.so to use relocation as a workaround, until the library is fixed. Please file a bug report. Allowing Access: If you trust /home/art/.jagex_cache_32/runescape/libjaggl_dri.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/home/art/.jagex_cache_32/runescape/libjaggl_dri.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/art/.jagex_cache_32/runescape/libjaggl_dri.so'" Fix Command: chcon -t textrel_shlib_t '/home/art/.jagex_cache_32/runescape/libjaggl_dri.so' Additional Information: Source Context unconfined_u:unconfined_r:unconfined_execmem_t:s0- s0:c0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects /home/art/.jagex_cache_32/runescape/libjaggl_dri.s o [ file ] Source java Source Path /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/ja va Port <Unknown> Host (removed) Source RPM Packages java-1.6.0-openjdk-1.6.0.0-33.b16.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-46.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name allow_execmod Host Name (removed) Platform Linux (removed) 2.6.31.6-134.fc12.i686 #1 SMP Mon Nov 16 21:09:17 EST 2009 i686 i686 Alert Count 1 First Seen Sun 22 Nov 2009 10:58:07 GMT Last Seen Sun 22 Nov 2009 10:58:07 GMT Local ID a4c7ad34-bf25-4e85-9085-9800650a1ffa Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1258887487.121:28733): avc: denied { execmod } for pid=9022 comm="java" path="/home/art/.jagex_cache_32/runescape/libjaggl_dri.so" dev=dm-0 ino=269100 scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1258887487.121:28733): arch=40000003 syscall=125 success=yes exit=0 a0=454000 a1=1000 a2=5 a3=57f4980 items=0 ppid=2135 pid=9022 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm="java" exe="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java" subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-46.fc12,allow_execmod,java,unconfined_execmem_t,user_home_t,file,execmod audit2allow suggests: #============= unconfined_execmem_t ============== allow unconfined_execmem_t user_home_t:file execmod;
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.32-48.fc12.noarch
selinux-policy-3.6.32-49.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-49.fc12
selinux-policy-3.6.32-49.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12131
selinux-policy-3.6.32-49.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.