Bug#445327: exim4-config: update-exim4.conf does not ignore .dpkg-* files

Hamish Moffatt hamish at debian.org
Fri Oct 5 09:19:19 UTC 2007


On Fri, Oct 05, 2007 at 10:57:37AM +0200, Marc Haber wrote:
> On Fri, Oct 05, 2007 at 06:43:24PM +1000, Hamish Moffatt wrote:
> > On Fri, Oct 05, 2007 at 09:08:25AM +0200, Marc Haber wrote:
> > > On Fri, Oct 05, 2007 at 10:13:44AM +1000, Hamish Moffatt wrote:
> > > > However the DEBCONF.. stuff was in .dpkg-old files left behind by
> > > > configuration updates. It looks like update-exim4.conf isn't ignoring
> > > > those (possibly even for generating the config file).
> > > 
> > > Documnted feature, see NEWS.
> > 
> > I read the NEWS.Debian.gz files for exim4-base, exim4-config and
> > exim4-daemon-light and I don't see any mention of .dpkg-old or
> > .dpkg-dist files. Could you please be more specific?
> 
> exim4-config:
> exim4 (4.67-4) unstable; urgency=low
> 
>     Since a lot of users did not read the docs while upgrading and
>     filed bug reports about exim4-config failing to install due to a
>     "malformed macro definition", update-exim4.conf.conf now checks
>     for DEBCONFsomethingDEBCONF strings anywhere in
>     /etc/exim4/exim4.conf.template or recursively /etc/exim4/conf.d
>     and barfs if such strings are found. This check - as a feature - also
>     includes files that would normally be excluded by
>     update-exim4.conf.
> 
> Last sentence.

Ok, but may I ask why not just ignore the .dpkg-old files?

dpkg leaves them behind when you do upgrade the config files, meaning
there isn't any way to avoid fixing this problem by hand.

If nothing else could you specifically mention .dpkg-dist/.dpkg-old so
that a search for those keywords would find this clause?

thanks
Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>





More information about the Pkg-exim4-maintainers mailing list