chcon and semanage

Daniel J Walsh dwalsh at redhat.com
Mon Dec 15 14:09:19 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rahul Sundaram wrote:
> Hi,
> 
> sealert suggests these changes if I try to run some software in a stock
> Fedora 10 box with no updates:
> 
> ----
> 
> /usr/bin/chcon -t textrel_shlib_t '/usr/lib/sse2/libpostproc.so.51.2.0'
> /usr/bin/chcon -t textrel_shlib_t '/usr/lib/sse2/libswscale.so.0.6.1'
> 
> ---
> 
> I assume these changes are not going to be persistent. What is the
> semanage equivalent and why doesn't sealert suggest that instead?
> 
> Rahul
> 
> -- 
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
# semanage fcontext -t  textrel_shlib_t
'/usr/lib/sse2/libpostproc.so.51.2.0'
# restorecon  /usr/lib/sse2/libpostproc.so.51.2.0

It probably should, although this fix is in the updated selinux-policy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklGZQ8ACgkQrlYvE4MpobPnZgCg5EEk9wxjyLSyOiHJklCS/7uw
UEQAniIGKahYDULundzX+2ExlnW3soGC
=Q3u9
-----END PGP SIGNATURE-----




More information about the fedora-selinux-list mailing list