On Mon, Mar 3, 2008 at 9:29 AM, Philippe Bourdeu d'Aguerre <[EMAIL PROTECTED]> wrote: > Le lundi 3 mars 2008, Bob Doolittle a écrit : > On other server, it seems I have trouble with SElinux. Here is log when I > insert a card: > > [...] > Mar 3 18:26:26 madiran setroubleshoot: SELinux is > preventing /opt/SUNWut/bin/utxconfig from > loading /opt/SUNWut/lib/libutoscompat.so.1 which requires text relocation. > For complete SELinux messages. run sealert -l > 26be3b03-3e9f-427d-a2dd-e590f5374519
You need to tell SELinux that it's OK to load this library despite the fact that it wasn't built as a position-independent object. (Several SRSS libraries were not built position-independent in 4.0, so you'll you'll have to explicitly configure SELinux to allow them to be used. The libraries should all be position-independent in the next release of SRSS.) If you don't really care about SELinux then you can turn it off completely. If you don't want to do that then you can use 'chcon' or 'semanage' to tell SELinux that it's OK to load each of the libraries in /opt/SUNWut/lib. The SELinux-on-FC5 FAQ at <http://docs.fedoraproject.org/selinux-faq-fc5/> says to use 'semanage' like this: $ /usr/sbin/semanage fcontext -a -t textrel_shlib_t /opt/SUNWut/lib/libutoscompat.so.1 Do that for each library in the /opt/SUNWut/lib directory. > Mar 3 18:26:26 madiran setroubleshoot: SELinux is > preventing /sbin/syslogd (syslogd_t) "append" to /var/opt/SUNWut/log/messages > (var_t). For complete SELinux messages. run sealert -l > 81bcf6a3-2d76-4913-b846-215b1c6dec7d Under SELinux you need to explicitly configure the logfiles that syslogd should be permitted to append messages to. A typical default setting is that it will append to anything in /var/log, but not to anything outside that directory. Obviously /var/opt/SUNWut/log/messages isn't in /var/log. OttoM. __ ottomeister Disclaimer: These are my opinions. I do not speak for my employer. _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
