How to set selinux?

Posted by Enrique Videni on Ask Ubuntu See other posts from Ask Ubuntu or by Enrique Videni
Published on 2012-09-02T12:29:22Z Indexed on 2012/09/03 21:48 UTC
Read the original article Hit count: 543

Filed under:

I installed selinux first, I set SELINUX=enforcing instead of its original value, SELINUX=permissive in /etc/selinux/config, then I reboot my computer.

I waited for some time, but it stopped, I rebooted again and it can not go into the system anymore so I restored the setting.

I tried to run seinfo command in a terminal, but it output some errors below:

ERROR: policydb version 26 does not match my version range 15-24
ERROR: Unable to open policy /etc/selinux/ubuntu/policy/policy.26.
ERROR: Input/output error

It seems that there is a little difference on how to start up selinux between CentOS and Ubuntu, can you help me configure selinux in Ubuntu?

© Ask Ubuntu or respective owner

Related posts about selinux