Maxent is a library used by our system to extract keywords using the maximum entropy. When I checked the system log this morning, I found a SELinux alarm:
Apr 3 04:57:49 nserver setroubleshoot: SELinux is preventing/usr/local/bin/python from loading/usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. so which requires text relocation. for complete SELinux messages. run sealert-l 6c940625-07c7-4f49-87a5-8f06b9361590
Run sealert-l 6c940625-07c7-4f49-87a5-8f06b9361590 to view the following details:
Summary
SELinux is preventing/usr/local/bin/python from loading
/Usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. So which requires
Text relocation.
Detailed description
The/usr/local/bin/Python application attempted to load
/Usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. 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. http://people.redhat.com/drepper/selinux-
Mem.html web page explains how to remove this requirement. You can
Configure SELinux temporarily to allow/usr/local/lib/python2.5/site-
Packages/maxent/_ cmaxent. So to use relocation as a workaround, until
Library is fixed. Please file
Http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.
Allowing access
If you trust/usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. So
Run correctly, you can change the file context to textrel_shlib_t. "chcon-T
Textrel_shlib_t/usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. So"
The following command will allow this access:
Chcon-T textrel_shlib_t/usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. So
It may be a problem with maxent Python wrapper. Run chcon-T textrel_shlib_t/usr/local/lib/python2.5/Site-packages/maxent/_ cmaxent. So as prompted.