Bug#285627: exim4 needs forever to start when network is configured

Andreas Pakulat Andreas Pakulat <apaku@gmx.de>, 285627@bugs.debian.org
Tue, 14 Dec 2004 15:42:17 +0100


Package: exim4
Version: 4.34-9
Severity: normal

Hi,

I have an internal network device, which is configured with a static
ip of 192.168.2.2. If I use "auto eth0" in the interfaces file,
activating the device at boot, exim4 takes forever to start. I did not
check the exact time, but its about:

regenerate config with upex4conf: more than 1 minute
checking if config is valid: about the same
starting exim4 with start_exim: about a minute.

I disabled isconfigvalid as the config doesn't change. I removed
everything from upex4conf except
/usr/sbin/update/exim4.conf

This "small startup script" takes a little bit less time, but still it
needs more time than any other boot process (eg apache, zope,
postgres...).

On the other hand, exim4 is there in just a few seconds if there is no
eth0 running at bootup.

Also having ethX or wlanY (X>0, Y>=0) up at boot time is not a
problem.

Andreas

-- Package-specific info: Exim version 4.34 #1 built 07-Dec-2004
13:59:38 Copyright (c) University of Cambridge 2004 Berkeley DB:
Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004) Support for:
iconv() IPv6 GnuTLS Lookups: lsearch wildlsearch nwildlsearch
iplsearch cdb dbm dbmnz dsearch nis nis0 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'

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='morpheus.matrix.de'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.gmx.de'

CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
mailname:morpheus.matrix.de

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-cherry
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages exim4 depends on:
ii  exim4-base                    4.34-9     EXperimental Internal Mailer -- a 
ii  exim4-daemon-light            4.34-9     Lightweight version of the Exim (v

-- no debconf information