[Pkg-clamav-devel] Bug#868092: Acknowledgement (clamav-freshclam: clean up legacy conf files)

Christoph Anton Mitterer calestyo at scientia.net
Sun Aug 20 19:50:32 UTC 2017


Hey.

Nothing special, I never manually changed the config, only via debconf.

What seems to be the case here is the following:

/etc/logrotate.d/clamav-freshclam seems to have been once a "conffile"
(i.e. a config file managed by dpkg).

Later however, this seems to have been changed, and while the file is
still there (and used), it's no longer a dpkg-managed "conffile".
However, when (at some version) the switch was done from dpkg-managed
"conffile" to non-dpkg-managed configuration file,... dpkg wasn't told
about this change, and still thinks (on legacy installations) that the
file would be a "conffile".


Not fully sure what is the "best" way to handle such cases,... perhaps
you could ask at debian-devel?
I think one could possible to something like:
- backup the current file to some location
- use dpkg-maintscript-helper rm_conffile to get the conffile
  unregistered
- move the backup to the original location
=> thus everything should stay as is, but the conffile be unregistered

But as I've said... rather ask some package maintenance experts for
help on this.


Thanks,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20170820/1d0832b8/attachment-0001.bin>


More information about the Pkg-clamav-devel mailing list