I've recently changed my profile to hardened/selinux profile. After whole instalation, which went quite well, I have the following problem. The selinux policy is not loaded on startup. ldd /sbin/init linux-vdso.so.1 => (0x00007152afc92000) libc.so.6 => /lib/libc.so.6 (0x00007152af724000) /lib64/ld-linux-x86-64.so.2 (0x00007152afa77000) There is no libselinux.so.1 => /lib/libselinux.so.1 according to gentoo selinux handbook reemergins sysvinit should fix this problem, but it is not. After issuing sestatus -r selinux starts crectly and the output of sestatus I got: sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: permissive Policy version: 24 Policy from config file: strict Thank you for your help. Best regards Marcin Szamotulski Reproducible: Always Actual Results: After booting sestatus SELinux status: disabled Expected Results: after booting it should be: sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: permissive Policy version: 24 Policy from config file: strict I added semanage -R to /etc/conf.d/local , but this is not a good solution.
post your emerge --info please.
May be you have sysvinit>=2.87 ? 2.87 is masked, but 2.87-r1 not. Try to use latest 2.86
Thanks, That was it, with sysvinit 2.86-r12 it works.
Is anyone working on this?
Chris, sysvinit-2.87-r3 is now in the tree with your patch. Please test and close this bug if it works correctly. Thanks much. William