CentOS7.6系统开启selinux系统无法启动--解决方案。

对于centos7.6系统开启selinux服务为enforcing模式后,重启服务器会出现不能启动的情况,出现以下的报错信息。
CentOS7.6系统开启selinux系统无法启动--解决方案。
CentOS7.6系统开启selinux系统无法启动--解决方案。
该情况的处理方式,如下:

     yum install selinux-policy  selinux-policy-targeted policycoreutils

touch /.autorelabel
编辑 /etc/selinux/config

SELINUX=permissive

reboot 
编辑 /etc/selinux/config

SELINUX=enforcing

reboot

相关的问题解决。

猜你喜欢

转载自blog.51cto.com/zhanx/2415455