selinux relabeling error

when you disable and enable selinux, it relabels the files upon start up. There seems to be a bug where sometimes selinux relabel the files wrongly. I once got the fcontext of all the files under /sbin and /bin as boot_t. This can create serious problems… worst than you can imagine. I can’t even ssh into the server!

the fix is the “fixfiles relabel /”, then restorecon when necessary.

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.