I've been running a Hardy server for a while now, and I recently decided for security reasons to try out SELinux and see how it goes, but when I install it, on reboot I get an error that prevents me from booting up.
Code:
SELinux: Could not open policy file <= /etc/selinux/refpolicy/policy/policy.22: No such file or directory
SELinux policy load failed and enforcing mode requested, halting now
then it drops me to busybox, so I just shut it down since I never perform any operations through busybox so I don't know what to do.
I install with
Code:
sudo apt-get install selinux selinux-policy
but I get told that even though selinux-policy is recommended, I should explicitly call one of two files (I think the one I pick is selinux-refpolicy or something along those lines) and that selinux-policy itself has no installation candidate. So I install selinux with either of the two policy files, and then am told that I must reboot to enable it, which I do. Then I get stuck in busybox and usually end up reinstalling.
I've checked the googlenets, with little result, as most guides are of the "apt-get, configure and have fun" nature, with no troubleshooting included.
Any ideas?
Bookmarks