
setsebool:SELinux被禁用.
我尝试使用setenforce启用它仍然说:
setenforce:SElinux被禁用
然后我试过:
semodule -n -B
它说:
semodule:不管理SElinux策略或无法访问存储.
我的配置文件:
# This file controls the state of SElinux on the system.# SEliNUX= can take one of these three values:# enforcing - SElinux security policy is enforced.# permissive - SElinux prints warnings instead of enforcing.# Disabled - SElinux is fully Disabled.SEliNUX=permissive# SEliNUXTYPE= type of policy in use. Possible values are:# targeted - Only targeted network daemons are protected.# strict - Full SElinux protection.SEliNUXTYPE=targeted
注意:重启多次.
解决方法 您正在使用的内核是在没有SElinux支持的情况下构建的.使用库存内核将不包含适用于您的VPS的相应部件.使用SElinux支持重建内核将导致VPS部分无法工作.你不能在你的VPS上使用SElinux. 总结以上是内存溢出为你收集整理的setenforce:SELinux被禁用全部内容,希望文章能够帮你解决setenforce:SELinux被禁用所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)