[systemd-devel] systemctl preset and chkconfig

Andrei Borzenkov arvidjaar at gmail.com
Tue Aug 26 05:37:16 PDT 2014


On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> 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.
>

And it *must* be in PID 1? Can it be systemd-install.service (pick the name)?


More information about the systemd-devel mailing list