Re: Running systemd with PID != 1, coexisting with other inits
On Sat, Oct 25, 2014 at 08:58:49AM -0700, Josh Triplett wrote:
> Matthias Urlichs wrote:
> > firstname.lastname@example.org:
> > > Personally, I'd actually love to see a port of systemd (a *complete*
> > > port of systemd) to be capable of running in system mode without being
> > > PID 1.
> > Why would you need to port it?
> > You can do that today quite easily; just say "systemd --system".
> > I have no idea what that does WRT cgroups management, and obviously it
> > won't be able to cleanly shut down the system, but AFAIK everything else
> > should work.
> Well, *that's* useful; thanks! I previously had the impression that
> systemd did not support this at all.
> This seems like a sensible, sustainable, long-term solution for
> supporting multiple init systems as PID 1, while still allowing services
> to make use of systemd-specific functionality. (Much like services
> today could depend on runit.) Thoughts?
This, sounds most interesing. Has anyone actually tried this out?