Summary: SELinux is preventing /opt/Unify/SQLBase/dblxsrv from loading /opt/Unify/SQLBase/libgptsblmsui11.so which requires text relocation. Detailed Description: The dblxsrv application attempted to load /opt/Unify/SQLBase/libgptsblmsui11.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/Unify/SQLBase/libgptsblmsui11.so to use relocation as a workaround, until the library is fixed. Please file a bug report. Allowing Access: If you trust /opt/Unify/SQLBase/libgptsblmsui11.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/opt/Unify/SQLBase/libgptsblmsui11.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/Unify/SQLBase/libgptsblmsui11.so'" Fix Command: chcon -t textrel_shlib_t '/opt/Unify/SQLBase/libgptsblmsui11.so' Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0 Target Context system_u:object_r:lib_t:s0 Target Objects /opt/Unify/SQLBase/libgptsblmsui11.so [ file ] Source dblxsrv Source Path /opt/Unify/SQLBase/dblxsrv Port <Unknown> Host (removed) Source RPM Packages SQLBase-server-11.5.2-6610 Target RPM Packages SQLBase-server-11.5.2-6610 Policy RPM selinux-policy-3.6.32-63.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name allow_execmod Host Name (removed) Platform Linux (removed) 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009 i686 i686 Alert Count 2 First Seen Fri 08 Jan 2010 06:53:39 PM CET Last Seen Fri 08 Jan 2010 06:54:56 PM CET Local ID 5a5e89a1-e02a-4dbb-b315-8b4afb4e2493 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1262973296.230:2907): avc: denied { execmod } for pid=11144 comm="dblxsrv" path="/opt/Unify/SQLBase/libgptsblmsui11.so" dev=dm-0 ino=11919585 scontext=unconfined_u:unconfined_r:unconfined_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1262973296.230:2907): arch=40000003 syscall=125 success=no exit=-13 a0=d02000 a1=2000 a2=5 a3=bfee5fb0 items=0 ppid=7160 pid=11144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="dblxsrv" exe="/opt/Unify/SQLBase/dblxsrv" subj=unconfined_u:unconfined_r:unconfined_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-63.fc12,allow_execmod,dblxsrv,unconfined_t,lib_t,file,execmod audit2allow suggests: audit2allow is not installed.
Execute the chcon command in the alert and it should work. Miroslav, could you add this label. /opt/Unify/SQLBase/libgptsblmsui11\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Labeling was added to selinux-policy-3.6.32-68.fc12
selinux-policy-3.6.32-69.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-2010-0362
selinux-policy-3.6.32-69.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.