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
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
