[Nix-dev] systemd in initrd
Luca Bruno
lethalman88 at gmail.com
Tue Aug 26 10:06:17 CEST 2014
The reply[1] by Poettering suggests that the activation process (stage-2)
should run as an initrd service, and then the init of stage-2 should be
directly systemd, in order to run systemd as continuum from stage-1 to
stage-2.
initrd -> activation service -> switch-root -> systemd
This raises a couple of problems:
1) Our stage-2 currently assumes the root has been switched already.
Perhaps RootDirectory may help to run the activation in the new root.
2) In case the initrd is not used (e.g. for containers), we shall still
provide the current stage-2 script, which might be in common with the
initrd service (minus the exec systemd at the end of the stage-2).
[1]
http://lists.freedesktop.org/archives/systemd-devel/2014-August/022514.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140826/be34cec6/attachment.html
More information about the nix-dev
mailing list