[sysvinit-devel] sysvinit 2.88 and SELinux policy

2010-05-07 Thread Martin Orr
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()) {

[sysvinit-devel] Re: [Pkg-sysvinit-devel] Bug#580272: sysvinit 2.88 and SELinux policy

2010-05-12 Thread Martin Orr
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