[systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?
Andrei Borzenkov
arvidjaar at gmail.com
Tue Mar 8 06:51:07 UTC 2016
07.03.2016 10:04, Francis Moreau пишет:
> 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.
That was answered in part you trimmed off. sysvinit never actively
pulled "b" in either so nothing really changed here.
>
> 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.
>
More information about the systemd-devel
mailing list