Red Hat Bugzilla – Bug 431111
initramfs needs to be able to load SELinux policy
Last modified: 2014-03-16 23:12:18 EDT
Description of problem:
Patch attached, as discussed on SELinux lists.
Version-Release number of selected component (if applicable):
Created attachment 293643 [details]
With this patch, if you change your selinux settings, you also have to rebuild
your initrd. Which is kind of crappy
It reads the config from the root fs, not the initrd.
It reads the config from the rootfs when we build the initrd. Sourcing the file
from the script running in nash is going to be ugly, though. And another
built-in is just piling on more hacks. Must. bash-ify. initrd.
Well, you can just always add 'load_policy' instead; it won't do anything if
it's not configured at the time it boots.
This should be fixed in 6.0.30-1.