Linux Archive

Linux Archive (
-   CentOS Docs (
-   -   edit proposal to /HowTos/SELinux - how to relabel filesystem (

Bennett Haselton 01-04-2012 04:41 PM

edit proposal to /HowTos/SELinux - how to relabel filesystem
Following the steps under "Contribute to the Wiki" at

My Wiki name is BennettHaselton. I wanted to edit this paragraph:

"Note: When switching from Disabled to either Permissive or Enforcing
mode, it is highly recommended that the system be rebooted and the
filesystem relabeled."

to add:

"This can be accomplished with the commands
touch /.autorelabel
If the file /.autorelabel exists at boot time, SELinux performs a
filesystem relabel and then deletes /.autorelabel "

Since the current page says to relabel the filesystem but doesn't say
how to do it; the instructions are easy to find elsewhere on the web,
but might as well put it on that page too.

CentOS-docs mailing list

All times are GMT. The time now is 01:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.