Bug#431130: exim4-config: update-exim4.conf greps in .dpkg-old files

Marc Haber mh+debian-packages at zugschlus.de
Sat Jun 30 13:12:39 UTC 2007


On Sat, Jun 30, 2007 at 10:26:03AM +0200, gregor herrmann wrote:
> On Sat, 30 Jun 2007 08:28:55 +0200, Marc Haber wrote:
> > > I think the reason is line 393 in /usr/sbin/update-exim4.conf:
> > >   if grep -qr '^[^#]*DEBCONF[a-z]\+DEBCONF' $UPEX4C_confd $TEMPLATEFILE
> > > which means that update-exim4.conf greps through _all_ files under
> > > /etc/exim4/conf.d -- and I had some .dpkg-old files lying around
> > > there, and those were the only files still containing
> > > DEBCONFsomethingDEBCONF entries.
> > Feature. See #431019.
> 
> Thanks, and sorry for not spotting the other bug report (I only
> checked bugs against exim4-config).
> 
> After reading your answer to Michal I see your point; and I can
> understand that you are not keen on adding complex checks but maybe
> it might help to avoid some confusion if you changed the error
> message by adding "or by some old .dpkg-old files" or similar.

I have changed the wording of the NEWS.Debian file:

    update-exim4.conf looks for commented UPEX4CmacrosUPEX4C (which
    used to be the place marker in earlier 4.67-x versions) and barfs
    if it finds them anywhere in /etc/exim4/exim4.conf.template or
    recursively /etc/exim4/conf.d. This check - as a feature - also
    includes files that would normally be excluded by update-exim4.conf.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




More information about the Pkg-exim4-maintainers mailing list