1.Check the Linux OS and Kernel versions# cat /etc/rocky-release# uname -r2.Verify SELinux status.SELinux by default runs in Enforcing mode# sestatus3.To disable SELinux grubby command is required#dnf install -y grubby4.Execute following command to permanently disable SELinux.#grubby --update-kernel ALL --args selinux=05.Reboot the server# reboot6.Verify SELinux status# sestatus source : https://centlinux.com/permanently-disable-selinux/...
Showing posts with label selinux. Show all posts
Showing posts with label selinux. Show all posts
Monday, April 22, 2024
Wednesday, June 10, 2009
Kernel Panic - SELinux Enabled
"unable to load selinux policy. machine is in enforcing mode. halting now" kernel panic.
To resolve :
1. Would it not be quicker, at the grub boot menu to 'e'dit the boot line to append 'enforcing=0'.
2. Then once the system is up, either edit /etc/grub.conf to include the appending, or edit /etc/sysconfig/selinux and set it to disabled.
Source : http://realtechtalk.com/Kernel_panic_not_...
Subscribe to:
Posts (Atom)