How to have SELinux relabeling in verbose mode
Environment
- Red Hat Enterprise Linux
Issue
- At boot, I would like to have the SELinux relabeling be in verbose mode to see which file contexts are changed
Resolution
-
When creating the
/.autorelabelfile on the root filesystem, prior to rebooting, add the-vvoption, as shown below# echo "-vv" > /.autorelabel -
Reboot the system
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.