Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Centos 5.5 and by deafult SElinux was disabled. I did changes in /etc/selinux/config and now it looks like this.


and rebooted the system. But even after the reboot when I do check the sestatus it shows disable. where I'm doing a mistake do I need to change any thing else?

I'm Using Rackspace Cloud server

share|improve this question
up vote 3 down vote accepted

You need to be running a kernel that supports SELinux. Most VPS providers use one that doesn't, since no one has cared enough to write SELinux rules that allow their VPS tools/mechanism to work.

Another possibility is that one or more kernel options are being passed via the bootloader which disable it. Check your bootloader configuration.

share|improve this answer
To check current kernel parameters: cat /proc/cmdline – LatinSuD Oct 14 '10 at 8:29

It seems that if you create a support ticket with Rackspace they can enable SELinux support without using a custom kernel. I suspect they keep alternate kernels available and they simply switch it over on their end.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.