On 11-11-08 17:46, Michal Soltys wrote:
Then even existing intiramfs image could (probably) be mdmon-agnostic.

Actually:

chroot /run/initramfs mdmon --takeover --all

worked just fine (after preparing new root - so after all mount --binds, and before pivot_root(8)).

So in context of systemd instead of sysv scripts - a fork / chroot / exec mdmon / wait - instead of killing it would do the thing, followed by pivot_to_new_root().

Actually anything that could benefit from "immortality" in one or the other way (perhaps udevd, so e.g. lvm doesn't need --noudevsync ? - when taken over inside dracut's shutdown or anything similar after going back to initramfs) that can be pre-chrooted into /run/initramfs and exec'ed, should work just fine. For the record, udevd worked properly with pivot survival.

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to