[systemd-devel] systemctl preset and chkconfig

Lennart Poettering lennart at poettering.net
Tue Aug 26 05:34:17 PDT 2014


On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidjaar at gmail.com) wrote:

> >> I have to say tho', I'm surprised this is something implemented in PID1.
> >> I hadn't looked at the code, but I thought (well assumed) "systemctl
> >> preset" was actually implemented on the client side. I guess it's true
> >> what they say about "assume"... :p
> >
> > Well, it's actually implemented on both sides (we link the same code
> > into client and server), so that --root= can work, and so that it can be
> > invoked if systemd is not running as PID 1.
> 
> What is then rationale for having it in PID 1 at all?

So that we can provide it as a bus API.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list