Page 1 of 1

Is SELinux mandatory in the kernel ?

PostPosted: Mon Oct 13, 2008 9:50 am
by evilangel
Hi all,

Configuring my kernel to set up GrSecurity, I noticed that SELinux was ticked in the config (based on Debian Stable config).
As I am not using SElinux, can I remove it "safely" from my kernel config ?

By safely, I understand, will applications still be running ?
Or will I need to recompile them ?

I am wondering because SELinux is now quite embedded in Linux, and I don't know how much applications expect it.

Thanks

Re: Is SELinux mandatory in the kernel ?

PostPosted: Mon Oct 13, 2008 10:19 am
by spender
It is safe to remove from the kernel. You'll likely see an error message or two at boot related to SELinux, but these are harmless.

-Brad

Re: Is SELinux mandatory in the kernel ?

PostPosted: Tue Oct 14, 2008 8:32 am
by evilangel
OK, i'll compile like this my next kernel.

Thanks