A package for orphaned sysvinit scripts

Thorsten Glaser t.glaser at tarent.de
Sat Jan 2 17:00:51 GMT 2021

On Sat, 2 Jan 2021, Matthew Vernon wrote:

> Perhaps the answer is to have the trigger-handling script run ucf (rather than
> have it run automatically on package install) to do conf-file handling?

Triggers run the postinst maintainer script with triggered, so
I’d say the logic gets called from both that and postinst configure,
so a dpkg-reconfigure will also call the logic, so we don’t need to
split it out into a separate script.

> I think otherwise you can either use ucf in the obvious way for /etc/init.d
> (but still have unnecessary scripts in /etc/init.d/)

I don’t understand this.

If we use ucf to manage the files in /etc/init.d/ then we of course
use it to manage only these for the packages which scan as present?

Handle triggering package addition/removal the same as new conffile
or removal of a conffile on package upgrade, ucf-wise.

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