对于centos7.6系统开启selinux服务为enforcing模式后,重启服务器会出现不能启动的情况,出现以下的报错信息。
该情况的处理方式,如下:
yum install selinux-policy selinux-policy-targeted policycoreutils
touch /.autorelabel
编辑 /etc/selinux/config
SELINUX=permissive
reboot
编辑 /etc/selinux/config
SELINUX=enforcing
reboot
相关的问题解决。