#568283 update-exim4.conf should ignore *~, *.dpkg-old while checking for leftover DEBCONFxxxDEBCONF strings

#568283#5
Date:
2010-02-03 17:14:52 UTC
From:
To:
update-exim4.conf checks for DEBCONFsomethingDEBCONF recursivly, which would
NORMALLY be good, but it should ignore *~ and *.dpkg-old files, it took me
quite a while to find out what was going on.

regards,

Joachim Otahal

"log" of how I fixed it:
----------------
gateway:/etc/exim4# update-exim4.conf
DEBCONFsomethingDEBCONF found in exim configuration. This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
gateway:/etc/exim4# grep -lr 'DEBCONF.*DEBCONF' /etc/exim4
/etc/exim4/conf.d/rewrite/31_exim4-config_rewriting.dpkg-old
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost.dpkg-old
/etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old
/etc/exim4/conf.d/main/02_exim4-config_options.dpkg-old
/etc/exim4/update-exim4.conf.conf
/etc/exim4/exim4.conf.template.dpkg-old
gateway:/etc/exim4# find . -name "*dpkg-old" -exec rm -f {} \;
gateway:/etc/exim4# find . -name "*~" -exec rm -f {} \;
gateway:/etc/exim4# grep -lr 'DEBCONF.*DEBCONF' /etc/exim4
/etc/exim4/update-exim4.conf.conf
gateway:/etc/exim4# update-exim4.conf
gateway:/etc/exim4#
-----------------