I've recently upgraded to Etch and have decided to install SELinux to test it out. The Wiki instructions on debian.org work except for one small part where it comes to installing selinux-policy-default. The error I get is "cat: /selinux/policyvers: No such file or directory."
I checked around on the intarweb and a few webpages said that I need to start SELinux from boot parameters before this will work.
So, I went ahead and appended "selinux=1" to its line in yaboot.conf. It started for me fine up until post-scripts/bottom, at which time I got a kernel panic that said:
Can't open '/etc/selinux/./policy/policy.20': No such file or directory.
Enforcing mode requested but no policy. Halting.
***glibc detected: free() : invalid pointer : 0x1000964c***
init has generated signal 4 but has no handler for it.
Kernel panic - not syncing. Attempted to kill init!
<0>Rebooting in 180 seconds.
Is there any way I can get past these error(s) and get SELinux somewhere closer to working? Thanks in advance to anyone that can help.
(EDIT: Never mind, I appended "selinux=1 enforcing=0" to the kernel parameter in yaboot. It worked, but it gave me a zillion error messages and took up WAY too much CPU time.)