[systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

Francis Moreau francis.moro at gmail.com
Mon Mar 7 07:04:57 UTC 2016


Hello,

Sorry for the long delay.

On Fri, Feb 26, 2016 at 5:05 AM, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
> 26.02.2016 00:55, Francis Moreau пишет:
>>
>> But now I'm wondering how the following case is handled: a sysinit
>> script "a" has "Required-Start: b". But "b" is a native systemd
>> service. I don't think the tool that enable/disable sysv services can
>> enable and order correctly the native service.
>>
>
> What difference does it make?

The difference is that in my current understanding nothing will pull "b" in.

Indeed "a" will have "After=b" ordering dep but that's not sufficient
to start "b". And since "b" is native it will not have a "SXXb"
installed by insserv.


Thanks.
-- 
Francis


More information about the systemd-devel mailing list