Bug#989284: insserv: toggles rc0.d/{K02avahi-daemon => K01avahi-daemon} with every upgrade
Jesse Smith
jsmith at resonatingmedia.com
Sun Sep 26 16:52:37 BST 2021
On 2021-09-26 7:10 a.m., Mark Hindley wrote:
> Jesse,
>
> On Mon, May 31, 2021 at 04:40:17AM +0200, Thorsten Glaser wrote:
>> Package: insserv
>> Version: 1.21.0-1.1
>> Severity: normal
>> X-Debbugs-Cc: tg at mirbsd.de
>>
>> I believe this is insserv; if not, feel free to reassign.
>>
>> With every update, I have etckeeper churn:
>>
>> [master 8a1a489] committing changes in /etc made by "apt-get --purge dist-upgrade"
>> Author: mirabilos <…>
>> 4 files changed, 91 insertions(+), 9 deletions(-)
>> rename rc0.d/{K02avahi-daemon => K01avahi-daemon} (100%)
>> rename rc1.d/{K02avahi-daemon => K01avahi-daemon} (100%)
>> rename rc6.d/{K02avahi-daemon => K01avahi-daemon} (100%)
>>
>> Basically, avahi-daemon toggles between K01 and K02 every time.
> I can't see where/how this is happening in insserv. Can you identify the cause?
>
Hi Mark,
It's certainly possible insserv is renaming the shortcuts for
avahi-daemon from K02 to K01. Though this raises a few questions, I believe:
1. Why do you think avahi-daemon should be prefixed with K02 instead of
K01? (Or does it switch back and force every time insserv is run?) On my
system it is set as K01 and this looks to be correct.
2. Is there a service on the system that is getting
added/removed/changed during the apt upgrade process that is affecting
the order in which avahi-daemin is getting shutdown?
I'm suggesting it's likely insserv is making the change, I'm just not
sure if it's a bug without knowing what else is changing on the system.
Jesse
More information about the Debian-init-diversity
mailing list