shared library and selinux

J. Scott Amort jsamort at shaw.ca
Wed Apr 28 21:29:17 UTC 2004


On Wed, 2004-28-04 at 13:55 -0400, Stephen Smalley wrote:
> I missed the obvious - you should be able to do:
> if [ -x /usr/bin/selinuxenabled ] && selinuxenabled; then restorecon ...; fi
> 

On Wed, 2004-28-04 at 14:18 -0400, Daniel J Walsh wrote: 
> [ -x /usr/bin/selinuxenabled ] &&  /usr/bin/selinuxenabled && restorecon 
> /usr/local/lib/libfoo.so.0.0.0

Thanks gentleman!  Works great now.

Best,
Scott





More information about the fedora-test-list mailing list