對於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
相關的問題解決。