Hi list,After looking at the code that implements the RootImage= directive, I
was wondering why it was necessary to do this in PID 1 (code seems to have been
partially borrowed from what nspawn uses), and why was RootImage= not
internally converted to RootDirectory=/run/some/private/dir/ where this
directory is where a small helper binary mounts the image, and this way it
could be extended to support a lot of image types without adding code to PID 1.
I was first thinking whether it would be possible to use this as a mount unit
so that systemd implicitly adds a RequiresMountsFor= for that directory, or
adds a dependency on such a transient mount unit. What are other people's
thoughts on this, and possibly why this approach was not chosen instead (since
I figure this is an implementation detail, things can always be reworked).
Thanks!
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel