unable to disable selinux

Michael Schwendt fedora at wir-sind-cool.org
Fri May 7 15:19:05 UTC 2004


On Fri, 07 May 2004 10:35:59 -0400, Rich Ibbotson wrote:

> Sorry if this is covered somewhere else, I haven't been able to find the 
> answer in the archives.
> 
> I've just upgraded from RH8.0 to FC2 test3 and I'm trying to disable 
> selinux until I get other problems sorted out.  I've tried passing 
> selinux=0 on the kernel line in grub, and I've also tried creating a 
> file /etc/sysconfig/selinux with the contents SELINUX=disabled.
> 
> Either way, whenever I issue a command like:
> rpm -V x11-org
> 
> I see the error message:
> /etc/security/selinux/file_contexts: No such file or directory
> 
> so I think selinux is enabled.  /usr/bin/selinuxenabled exits with a 
> return value of 1.
> 
> What do I need to do to really disable selinux?  I'm running kernel 
> 2.6.5-1.327.

Get rid of of the /selinux directory.
 





More information about the test mailing list