:: [devuan-dev] bug#723: init-system-h…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Mark Hindley
Ημερομηνία:  
Προς: 723, 732-sumbitter, bgstack15
Αντικείμενο: [devuan-dev] bug#723: init-system-helpers: update-rc.d calls systemctl on a SysVinit system, creating a recursion
Antony,

On Mon, Nov 14, 2022 at 11:31:39AM +0100, Where all about bugs in Devuan packages is reported wrote:
> > Hmmm, I get completely different behaviour with that command:-
> >
> > mark@apollo:~% sudo update-rc.d enable rsyslog
> > usage: update-rc.d [-f] <basename> remove
> >        update-rc.d [-f] <basename> defaults
> >        update-rc.d [-f] <basename> defaults-disabled
> >        update-rc.d <basename> disable|enable [S|2|3|4|5]
> >                 -f: force

>
> Um, "update-rc.d rsyslog enable" != "update-rc.d enable rsyslog".


Thanks for pointing out my obvious (but not to me!) mistake.

So I can now reproduce this, but only if systemctl-service-shim is installed. If
it is removed, update-rc.d behaves as expected.

[Adding bgstack15]

Is this an issue in the way systemctl-service-shim behaves? I don't see it with
systemctl on a Debian sysvinit system.

Thanks.

Mark