因设备停机,重启系统后报错无法进入系统
Failed to load SELinux policy. Freezing
看报错原因是selinux配置错了,于是重启系统
vim /etc/selinux/config
修改配置如下
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
最后在重启一次系统,看是否报错.
CentOS7开机无法启动,报 Failed to load SELinux policy. Freezing错误
原文:https://www.cnblogs.com/GYoungBean/p/14675199.html