selinux禁用,但仍然执行?

我有一些系统,出于各种原因,我们要完全禁用selinux。 到目前为止,这已经像冠军一样工作了,总是在kickstarts中使用selinux = 0,并确保/ etc / sysconfig / selinux包含:

SELINUX=disabled 

但是到今天为止,我已经有一个正确设置的Fedora 17工作站,但在重启之后,它总是以强制模式启动:

 # cat /etc/sysconfig/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 - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted # getenforce Enforcing 

有什么可能导致selinux忽略sysconfig条目,或者开始,尽pipe呢?

[编辑1]

我在这里看到一个相关的问题,并尝试这个:

 # selinuxenabled ; echo $? 0 # getenforce Enforcing 

实际的configuration文件是/ etc / sysconfig / selinux链接的/ etc / sellinux / config 。 看起来你可能已经失去了链接,并以一个普通的文件结束。

validation:

 # ls -l /etc/sysconfig/selinux lrwxrwxrwx. 1 root root 17 Dec 22 18:59 /etc/sysconfig/selinux -> ../selinux/config 

或者检查/ etc / sellinux / config的内容