Bug#312492: exim4: problems with db files on upgrade

Dave Love Dave Love <d.love@dl.ac.uk>, 312492@bugs.debian.org
Wed, 08 Jun 2005 13:09:41 +0100


Package: exim4
Version: 4.50-8
Severity: normal

I upgraded some boxes yesterday from Potato to Sarge and then
installed exim4.  On two of them cron is now reporting 

failed to open DB file /var/spool/exim/db/retry: File exists

from one exim_tidydb part and

failed to open DB file /var/spool/exim/db/wait-remote_smtp: File exists

from the other.  This isn't happening on a couple of other boxes,
though.  I guess it's a db incompatibility, but the file is the same
type on a system that gives the error and one that doesn't with the
same exim4 package versions.

/var/spool/exim/db/retry: Berkeley DB (Hash, version 5, native byte-order)


-- Package-specific info:
Exim version 4.50 #1 built 27-May-2005 10:31:00
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis n\
is0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames='kerbstone.dl.ac.uk'
dc_local_interfaces='127.0.0.1'
dc_readhost='kerbstone.dl.ac.uk'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.dl.ac.uk'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
mailname:kerbstone.dl.ac.uk

-- System Information:
Debian Release: 3.1
Architecture: sparc
Kernel: Linux 2.4.26-sparc32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages exim4 depends on:
ii  exim4-base                    4.50-8     support files for all exim MTA (v4
ii  exim4-daemon-light            4.50-8     lightweight exim MTA (v4) daemon

-- no debconf information