GNU bug report logs -
#74284
Shepherd does not respect ordering for one-shot? services
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Sat, 9 Nov 2024 16:54:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Tomas,
(+ Dariqq since we briefly discussed it on IRC yesterday.)
Tomas Volf <~@wolfsden.cz> skribis:
> Notice that the order changed to (a b c d, this matches the increasing
> wait time), the initial messages are all together:
>
> Starting service d...
> Starting service c...
> Starting service b...
> Starting service a...
>
> and the whole start-up takes 4 seconds (the wait time of `d'). That
> seems to indicate that all 4 services are actually starting at the same
> time without waiting as they should per the #:requirement argument.
Indeed. As Dariqq found out, the problem was that we’d mark one-short
services in ‘%one-shot-services-started’ as soon as we’ve started them,
effectively acting as if “started” were synonymous with “running”.
This is fixed with 550c0370985022c5c90a7b477a5e0b84f6faf5d7.
Let me know if you find anything fishy!
Thanks,
Ludo’.
This bug report was last modified 179 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.