Bug#544228: insserv: undetermined behaviour when there's x-start-before on a virtual facility the script belongs to
Jesse Smith
jsmith at resonatingmedia.com
Wed Mar 5 14:10:34 GMT 2025
On Wed, 5 Mar 2025 08:10:55 +0000 Mark Hindley wrote:
> Control: tags -1 upstream
>
> Jesse,
>
> I have just tried this with insserv 1.26.0 and the self-referential
virtual
> facility appears to be silently ignored. Is that the intended
behaviour? If so,
> is it documented anywhere (I can't immediately see it).
>
I want to make sure I understand the issue here. The original report is
basically saying that rsyslog is set to start _before_ $syslog. However,
$syslog is a virtual group which contains rsyslog. So the header is
weird because it's trying to start a service before a group it is a part of.
Which is an odd declaration, but I don't see how it is a bug. Is there
any reason a script included in a group could not or should not be
started before before the rest of the items in that group? I agree it is
a weird way to write a script header, but I'm not seeing how it causes a
problem.
Unless there is a clear situation where this LSD header is considered
both valid and insserv's behaviour causes an error, I think silently
accepting it makes sense.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250305/b5612d9a/attachment.htm>
More information about the Debian-init-diversity
mailing list