Bug 217363 - SELINUX is preventing perl from loading slimserver
SELINUX is preventing perl from loading slimserver
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: slib (Show other bugs)
6
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-27 10:18 EST by Gord Wilkes
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-27 12:18:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Gord Wilkes 2006-11-27 10:18:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Firefox/1.5.0.8

Description of problem:
...slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so requires text relocation. Also applies to ...slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so
and
...slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/GD/GD.so


Version-Release number of selected component (if applicable):
selinux-policy-2.4.3-10,fc6

How reproducible:
Always


Steps to Reproduce:
1.When SELINUX is enabled and enforcing
2.try to start slimserver
3.

Actual Results:
Starting SlimServer: ** SlimServer Error:
** SELinux settings prevented SlimServer from starting.
** See http://wiki.slimdevices.com/index.cgi?RPM for more information.

Expected Results:
Slimserver should have started

Additional info:
the setroubleshoot browser suggests
chcon -t textrel_shlib_t /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
chcon -t textrel_shlib_t /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so
chcon -t textrel_shlib_t /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/GD/GD.so
and then it starts OK
Comment 1 Daniel Walsh 2006-11-27 12:18:09 EST
Please report these as a bug against the slimserver.  These privs should not be
required

http://people.redhat.com/~drepper/selinux-mem.html

Note You need to log in before you can comment on or make changes to this bug.