Systemd service life cycle
Tom H
tomh0665 at gmail.com
Thu Apr 7 11:15:38 UTC 2016
On Thu, Apr 7, 2016 at 10:17 AM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Thu, 7 Apr 2016 08:43:47 +0100, Colin Law wrote:
>>
>> This leads me to think that A is defined as Started once ExecStart has
>> been called, but only guarantees that the script has been initiated,
>> not that it has actually accomplished anything.
>
> Systemd is known for race conditions. I would let a wrapper B check
> against A being ready.
Isn't one of the systemd selling points that it has dependency resolution?!
The systemd developers have had to add more and more options to units
to allow accurate ordering and maintainers of various packages have
had to use new stanzas and/or refine dependencies so there may have
been races (and may even be races still) but it's definitely not a
common "misfeature."
More information about the ubuntu-users
mailing list