LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian Etch/PPC SELinux kernel panic, glibc and policy.20 (https://www.linuxquestions.org/questions/debian-26/debian-etch-ppc-selinux-kernel-panic-glibc-and-policy-20-a-472121/)

RavenOfOdin 08-08-2006 07:15 PM

Debian Etch/PPC SELinux kernel panic, glibc and policy.20
 
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:

Code:

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.)


All times are GMT -5. The time now is 04:57 AM.