Sunday, June 7, 2020

RHEL7-Centos stucks at SELinux policy

Nessus appliance server keep crashing. (I think its a CentOS image).

Upon rebooting system, it was stuck at

systemd[1]: Failed to load SELinux policy. Freezing .

Every time you reboot, power cycle, it just stucks there. No progress,

Boot your system, select the kernel line and pres e to edit it.

Now, go to line "linux16" and add selinux=0 value at the end of the line.
Press CTRL + x to boot the system.

After server came up, performed the following tasks..

# sestatus
# yum reinstall selinux-policy-targeted
# touch /.autorelabel
# systemctl reboot

again it stuck at SELinux.So we end up rebuilding it.

No comments:

Post a Comment