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.