With sysvinit 2.88 my SELinux policy is not loaded on boot; with
sysvinit 2.87 everything worked fine. I am running Debian; my
initramfs mounts /proc but does not know about SELinux.
Here are the two pieces of code:
Old code:
if (getenv("SELINUX_INIT") == NULL && !is_selinux_enabled()) {
let me know if it work?
This patch works for me, and so far as I understand things it should
cover all the cases (no initrd, non-SELinux aware initrd, initrd that
loads SELinux policy) though I only tested the non-SELinux aware initrd
case.
Thanks,
Martin Orr
Index: src/init.c