Bug#975591: update-rc.d disable

Thorsten Glaser t.glaser at tarent.de
Sun Dec 20 22:44:02 GMT 2020

On Sun, 20 Dec 2020, Tom H wrote:

> > There *absolutely* HAS to be some way to disable an init script

> It depends what's meant by "disable".

Which part of “disable an init script” did you not understand?

> If it means "disable <daemon> from starting at boot", then


> If it means "disable <daemon> from starting at all", then "update-rc.d


It means “do not call this init script in any runlevel”,
which *ought* to be very obvious.

> It feels like a lot of work for an unusual corner case.

It’s by no means an unusual corner case.

Installing a package to have a dæmon binary (or really any
file from it) available but not intending for the initscript
to run isn’t anything special. There’s even standardised-ish
ways to do so (chmod -x the dæmon binary), which however
won’t be usable if users need to start it manually.

(Curiously wondering whether systemd handles _this_ right…)

tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg


Mit unserem Consulting bieten wir Unternehmen maßgeschneiderte Angebote in
Form von Beratung, Trainings sowie Workshops in den Bereichen
Softwaretechnologie, IT Strategie und Architektur, Innovation und Umsetzung
sowie Agile Organisation.

Besuchen Sie uns auf https://www.tarent.de/consulting .
Wir freuen uns auf Ihren Kontakt.


More information about the Debian-init-diversity mailing list