Hi
I am attempting to run slimserver 6.5.4 (rpm) on Fedora 8 with SE Linux
enforcing.

I issued the chcon instruction for FC5 given here:
http://wiki.slimdevices.com/index.cgi?RPM 
but without success.

I then disabled SE Linux and was able to get slimserver working OK.

When I then set SE Linux to enforcing again it stopped the slimserver
start up from working. The SE Linux messages were (extract):

'The slimserver.pl application attempted to load
/usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.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."'
and:
'If you trust /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-
multi/auto/DBD/mysql/mysql.so to run correctly, you can change the
file
context to textrel_shlib_t. "chcon -t textrel_shlib_t
/usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-
multi/auto/DBD/mysql/mysql.so"'
and:
'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 /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-
multi/auto/DBD/mysql/mysql.so"'

These instructions worked in as much as these particular errors went
away but it lead to the following message (after a re-boot):

'SELinux is preventing /usr/sbin/useradd (useradd_t) "setattr" to
(usr_t). SELinux denied access requested by /usr/sbin/useradd. It is
not expected that this access is required by /usr/sbin/useradd and this
access may signal an intrusion attempt. It is also possible that the
specific version or configuration of the application is causing it to
require additional access.'

SE Linux suggested 'restorecon -v' but this did not work.

It looks as though a fix might not be too complex but I am new to Linux
and even newer on SE Linux. This query may belong in beginners forum but
this one seemed more appropriate since with SE Linux disabled slimserver
seems to work fine.

Has anyone solved this or can they suggest a solution to try?

Many thanks in advance...

Clive


-- 
clive1000
------------------------------------------------------------------------
clive1000's Profile: http://forums.slimdevices.com/member.php?userid=14472
View this thread: http://forums.slimdevices.com/showthread.php?t=41166

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to