Bug#133030: debian-policy: debconf policy (specification) implies dpkg will run .config before preinst ALWAYS
Package: debian-policy
Version: 3.5.6.0
Severity: minor
The debconf specification text says:
The config-file contains a new element, which I call the configmodule.
This is a program that will determine the configuration before the package
is unpacked. This means it is run before the preinst, and before the
package is unpacked! This is done to make sure that we can use the desired
configuration in the preinst if necessary.
However, that not only is false when we "dpkg -i" something, but it also
will not work if apt-utils is not installed. In that case, the preinst will
cause the config module to be run when /usr/share/debconf/confmodule is
first executed. If it is not executed, it will not run "before" the preinst
in that case (and it would actually run inside the preinst, not before
anyway...)
Please document this, it may save someone a grave bug someday, and maybe
even avoid a lot of headaches.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux khazad-dum 2.4.18-pre3-k7 #1 Dom Jan 13 01:00:51 BRST 2002 i686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR
Versions of packages debian-policy depends on:
ii fileutils 4.1-9 GNU file management utilities.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: