[Pkg-clamav-devel] Bug#870253: clamav-milter: disengaging debconf management destroys config
Marc Dequènes (duck)
duck at duckcorp.org
Mon Jul 31 10:38:58 UTC 2017
Package: clamav-milter
Version: 0.99.2+dfsg-6+b1
Severity: serious
Quack,
I configured this package using debconf and it worked nicely. I then
wanted to handle the file via configuration management and to do so I
disengaged debconf, replying "no" to the question "Handle the
configuration file automatically?" when doing a dpkg-reconfigure.
The resulting message was:
Replacing config file /etc/clamav/clamav-milter.conf with new version
The configuration file previously created via debconf was simply
replaced without any backup, so all my config was lost (thanks backup).
In accordance with the Debian Policy a package should not destroy user's
config. In this case the headers saying this file is managed
automatically should be removed but the configuration directives be
preserved. You may also give a choice via a debconf question.
Regards.
--
Marc Dequènes
More information about the Pkg-clamav-devel
mailing list