Is there a way to uninstall the SElinux?

red_alert red_alert at the-psychiatry.ch
Sat Apr 3 11:34:40 UTC 2004


yea, that seems to be still a problem/bug. if you have set 
SELINUX=enforcing in /etc/sysconfig/selinux, the kernel-param selinux=0 
won't work (won't even boot...as you said).
but you may rm /etc/sysconfig/selinux, then selinux=0 should work pretty 
fine.

regards
red_alert

Felipe Alfaro Solana schrieb:
> On Sat, 2004-04-03 at 12:15, David Kvarnberg wrote:
> 
>>On Sat, 2004-04-03 at 12:00 +0200, Axel Jerabek wrote:
>>
>>
>>>I installed the fedora core 2 and i am not really happy with the SElinux
>>>behaviour.
>>>since i ported our video software to the 2.6 kernel i used the fedora core 2
>>>release.
>>>but unhappily i installed it with the SElinux option. Is there a way to get
>>>rid of the SElinux
>>>without having to reinstall the buddy again?
>>>
>>
>>You can turn off SELinux by adding a kernel param to /etc/grub.conf
>>Like this: 
>>
>>kernel /vmlinuz-2.6.4-1.300 root=/dev/hda2 ro selinux=0
>>                                              ^^^^^^^^^
>>
>>After rebooting, SELinux will be turned off.
> 
> 
> This won't for me. Instead, after booting, kernel panics trying to kill
> init as no policy has it seems SELinux is still enable but no policy
> been loaded into the kernel.
> 
> Instead, I changed SELINUX=enforcing to SELINUX=0 in
> /etc/sysconfig/selinux.
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-selinux-list



More information about the fedora-selinux-list mailing list