zoukankan      html  css  js  c++  java
  • centos7 修改selinux 开机导致 faild to load SELinux policy freezing 错误

    centos7 修改selinux 开机导致 faild to load SELinux policy  freezing 错误

    之前把selinux关闭了,这次想打开selinux,于是修改了 /etc/selinux/config 文件,然后重启时,就开不了机了,

    出现错误:faild to load SELinux policy  freezing,查了一些资料,完善方案

    1. 重启时在启动页面 按 E, 进入 grub 编辑页面;

    2. 找到 linux 那一行,在最后 language 后面,空格 加上 selinux=0

    3. 然后 ctrl + x 重新运行,即可了

    4. 重新启动之前,ls /etc/selinux 发现多了一个 config~的文件,,应该就是这个文件的问题了,把 config~文件删除;

    5. reboot重新启动

  • 相关阅读:
    第14周总结
    第十三周总结
    第十二周总结
    第十一周总结
    第十次助教小结
    第九次小结-关注的助教
    第八次点评
    助教总结
    助教小结13
    助教小结12
  • 原文地址:https://www.cnblogs.com/cocoajin/p/4089105.html
Copyright © 2011-2022 走看看