ldconfig and selinux

Daniel J Walsh dwalsh at redhat.com
Mon Jan 3 15:33:59 UTC 2005


Jerry DeLisle wrote:

>On Fri, 2004-12-31 at 21:10 -0600, Kenny Gow wrote:
>
>  
>
>>You might need to do a "fixfiles relabel". See the FAQ,
>>
>>http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2864687
>>
>>--Kenny
>>
>>    
>>
>OK, Changingto a different directory did not fix it. So I did:
>
># setenforce 0  and the problem went away.  I then did setenforce 1 and
>the problem returned so I did this:
>
># setenforce 0
># fixfiles relabel
># setenforce 1
>
>This fixed it.  I do not know if I had to turn enforcement off before
>running fix labels, but I did anyway.
>
>Thanks.
>
>Jerry
>
>  
>
fixfiles relabel, is a pretty heavy hammer to fix this problem.  I would 
suggest that you try
restorecon on the offending library or just do a
restorecon -R -v /usr/lib to fix this problem.  Works a lot faster.

Dan




More information about the users mailing list