1、修改selinux相关机制后出现开机失败,报错faild to load selinux policy freezing
开机后按E键 进入下界面
在高亮出添加enforcing=0或者selinux=0
[root@localhost ~]# ls /etc/selinux/
config semanage.conf targeted 【删除这个文件】
[root@localhost selinux]# ls
semanage.conf targeted
[root@localhost ~]# cd /etc/selinux/
[root@localhost selinux]# rm -rf config
[root@localhost selinux]# vim /boot/grub2/grub.cfg
129 enforcing=0【添加此行】