Bug 217363 - SELINUX is preventing perl from loading slimserver
Summary: SELINUX is preventing perl from loading slimserver
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: slib
Version: 6
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-27 15:18 UTC by Gord Wilkes
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-27 17:18:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gord Wilkes 2006-11-27 15:18:09 UTC
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 17:18:09 UTC
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.