9.1.8. How to recover from SELINUX policy failure¶
If you experience a failed boot after running simp bootstrap
with an error
that says something along the lines of Failed to load SELINUX policy,
freezing
, follow these instructions:
- Reboot into single user mode or a rescue shell (instructions on EL6 and
EL7). You may need your GRUB password that was set during
simp config
or set using thesimp-simp_grub
module. - Reinstall the selinux policy:
yum reinstall -y selinux-policy-targeted
- Tell the kernel to relabel all files during next boot:
touch /.autorelabel
- Reboot