On Thu, 27 Aug 2009, Philipp Kern <[email protected]> wrote: > libselinux.so.1 is already included in the initramfs.
That is for /lib/libdevmapper.so.1.02.1 which is used by lvm and cryptsetup. There is no benefit in having a libdevmapper linked with SE Linux support in the initramfs. Ideally we would have an alternate version of the library with no SE Linux support for use in the initramfs. Another possibility might be to have the libdevmapper use dlopen() to access libselinux and have code to just issue a warning if the library doesn't exist. Some time ago I did some work on this, but I didn't get a good solution developed. But that said, I think that the aim of the people who are pushing this idea is not to have load_policy in the initramfs but to have the initramfs run the version from the root filesystem. http://en.wikipedia.org/wiki/Initrd The documentation of the initrd indicates that it's purpose is to mount the root filesystem in preparation for running init. Externalising work that could be done in later stages of the boot process was never the aim of the initrd. -- [email protected] http://etbe.coker.com.au/ My Main Blog http://doc.coker.com.au/ My Documents Blog -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

