Bug#310703: 'dpkg-reconfigure exim4-config' restarts MTA, but with old config

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 310703@bugs.debian.org
Wed, 25 May 2005 14:16:25 +0200


On Wed, May 25, 2005 at 01:54:13PM +0200, Joris Mooij wrote:
> I attached a typescript (created with script). As a short summary, I gave
> the following commands:
> 
> pluto:/var/lib/exim4# invoke-rc.d exim4 restart
> pluto:/var/lib/exim4# invoke-rc.d exim4 restart
> pluto:/var/lib/exim4# tail /var/log/exim4/mainlog
> 
> (to ensure running with latest config, which listens to ALL interfaces,
> i.e. dc_local_interfaces left empty)
> 
> pluto:/var/lib/exim4# EX4DEBUG=1
> pluto:/var/lib/exim4# dpkg-reconfigure -freadline exim4-config
> 
> (reconfigured to listen only to 127.0.0.1 and 10.0.0.1)
> 
> pluto:/var/lib/exim4# tail /var/log/exim4/mainlog
> 
> (exim4 has restarted after reconfig, but is still listening to ALL
> interfaces)
> 
> pluto:/var/lib/exim4# invoke-rc.d exim4 restart
> pluto:/var/lib/exim4# tail /var/log/exim4/mainlog
> 
> (now it is correctly listening only to 127.0.0.1 and 10.0.0.1, showing
> that it now has reloaded its config)

Hm. Looks like exim4-config.config should invoke update-exim4.conf
before restarting the daemon. I'll discuss that with the other
maintainers.

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 621 72739835