Bennett Haselton
2012-Jan-04 17:41 UTC
[CentOS-docs] edit proposal to /HowTos/SELinux - how to relabel filesystem
Following the steps under "Contribute to the Wiki" at http://wiki.centos.org/Contribute#head-42b3d8e26400a106851a61aebe5c2cca54dd79e5 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 reboot 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. Bennett
Ralph Angenendt
2012-Jan-08 17:42 UTC
[CentOS-docs] edit proposal to /HowTos/SELinux - how to relabel filesystem
On 04.01.2012 18:41, Bennett Haselton wrote:> Following the steps under "Contribute to the Wiki" at > http://wiki.centos.org/Contribute#head-42b3d8e26400a106851a61aebe5c2cca54dd79e5 > > 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."Which page is that on? Cheers, Ralph
Possibly Parallel Threads
- Re: [common PATCH 3/3] mlcustomize: do not relabel if not enforcing (RHBZ#1828952)
- [PATCH v2 4/7] customize: Add module for doing SELinux relabel of filesystem.
- Re: [common PATCH 3/3] mlcustomize: do not relabel if not enforcing (RHBZ#1828952)
- [PATCH 2/2] customize: Allow --selinux-relabel flag to work on cross-architecture builds (RHBZ#1212807).
- [PATCH 2/2] Use setfiles from the appliance for the SELinux relabel (RHBZ#1089100).