Summary: SELinux is preventing /home/mhyp666/hiverise/hiverise.bin from loading /home/mhyp666/hiverise/libgc.so which requires text relocation. Detailed Description: The hiverise.bin application attempted to load /home/mhyp666/hiverise/libgc.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/mhyp666/hiverise/libgc.so to use relocation as a workaround, until the library is fixed. Please file a bug report. Allowing Access: If you trust /home/mhyp666/hiverise/libgc.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/home/mhyp666/hiverise/libgc.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/mhyp666/hiverise/libgc.so'" Fix Command: chcon -t textrel_shlib_t '/home/mhyp666/hiverise/libgc.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/mhyp666/hiverise/libgc.so [ file ] Source hiverise.bin Source Path /home/mhyp666/hiverise/hiverise.bin Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.7.19-44.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name allow_execmod Host Name (removed) Platform Linux (removed) 2.6.33.6-147.2.4.fc13.i686.PAE #1 SMP Fri Jul 23 17:21:06 UTC 2010 i686 i686 Alert Count 1 First Seen Thu 12 Aug 2010 04:14:26 PM AST Last Seen Thu 12 Aug 2010 04:14:26 PM AST Local ID 9017d1bb-2c9d-4cc7-9a22-c4ed3fbe5399 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1281618866.636:85): avc: denied { execmod } for pid=7393 comm="hiverise.bin" path="/home/mhyp666/hiverise/libgc.so" dev=sda1 ino=265418 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(1281618866.636:85): arch=40000003 syscall=125 success=no exit=-13 a0=210000 a1=24000 a2=5 a3=bfe40c90 items=0 ppid=7369 pid=7393 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="hiverise.bin" exe="/home/mhyp666/hiverise/hiverise.bin" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash String generated from allow_execmod,hiverise.bin,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;
Either use the chcon command mentioned in the alert or turn off the check altogether.