Can't boot, linux freezing, "Failed to load selinux policy"


To resolve this,


1, reboot your box, on grub menu, type 'e'

add 'selinux=0' to kernel parameter, ctrl-x


2, after login

edit /etc/selinux/config

set selinux to "disabled"


3, touch /.autorelabel


4, restart your box and it will be good.

GitHub 加速计划 / sel / selinux
150
64
下载
common selinux implementation
最近提交(Master分支:2 个月前 )
1b71cb46 pwalk, pwalkdir: fix walk vs remove race 1 年前
40a1afee Misc nitpicks 1 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐