[Spacewalk-list] spacewalk-setup problems

Jan-Frode Myklebust janfrode at tanso.net
Wed Aug 6 10:52:43 UTC 2008


On Wed, Aug 06, 2008 at 08:26:21AM +0200, Jan Pazdziora wrote:
> 
> This sounds like a SELinux issue. You can either disable it or try
> 
> 	semanage fcontext -a -t textrel_shlib_t '/usr/lib/oracle/10.2.0.4/client64/lib/*'
> 	restorecon -R /usr/lib/oracle/10.2.0.4/client64/lib
> 

This didn't work anymore for me (I think it worked earlier but there's
probably been a change in the file_contexts.homedirs policies), I had to
use more explicit rules because of file_contexts.homedirs containing
rules for /usr/lib/oracle and file_contexts.homedirs has precedence over
file_contexts.local if the local rules has wildcards. So, the fix will
have to be: 

    for file in /usr/lib/oracle/10.2.0.4/client64/lib/*
    do
        semanage fcontext -a -t textrel_shlib_t $file
        restorecon $file
    done



  -jf




More information about the Spacewalk-list mailing list