[Debconf-devel] debconf vs. invoke-rc.d start

Thorsten Glaser t.glaser at tarent.de
Thu Jul 24 14:19:18 UTC 2014

On Thu, 24 Jul 2014, Colin Watson wrote:

> Why can't you source the confmodule at the very top as usual, and use it
> later?

Calling 'invoke-rc.d foo start' without a prior 'db_stop' will
cause the entire apt/dpkg process chain to just hang forever at 0%CPU.

> If there's some reason why that's impossible, then you can export a
> sentinel environment variable before sourcing the confmodule, or

Yes, I just did that, but…

> idempotent.  This is normally bad design though, and worth going to some
> effort to avoid.

… it does feel like a hack to me.

See my other eMail for another idea that came to me while debugging
this. Maybe that could work.

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

More information about the Debconf-devel mailing list