On Thu, Mar 24, 2022 at 01:05:34AM +0100, Lorenzo wrote: > [1] I'll deal with this in a separate bug, but just to give you an idea: > why divert start-stop-daemon is better than diverting invoke-rc.d > and update-rc.d? Or, another example, why not abuse the ancient > policy-rc.d hack?
I think it's better because start-stop-daemon is the common denominator. Diverting it will do the right thing even if someone invokes /etc/init.d/foo manually; the other solutions only affect well-written maintainer scripts. AndrĂ¡s -- Birthdays are good for you - the more you have the longer you live.