Bug#310703: marked as done ('dpkg-reconfigure exim4-config' restarts MTA, but with old config)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 26 May 2005 13:03:36 -0700


Your message dated Thu, 26 May 2005 15:47:20 -0400
with message-id <E1DbOK8-0006bA-00@newraff.debian.org>
and subject line Bug#310703: fixed in exim4 4.50-7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 May 2005 10:36:38 +0000
>From j.mooij@science.ru.nl Wed May 25 03:36:38 2005
Return-path: <j.mooij@science.ru.nl>
Received: from smtp15.wxs.nl [195.121.6.54] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DatFd-00049Z-00; Wed, 25 May 2005 03:36:38 -0700
Received: from pluto.jorismooij.nl (ipd50a5744.speed.planet.nl [213.10.87.68])
 by smtp15.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))
 with ESMTP id <0IH100JOPK46BF@smtp15.wxs.nl> for submit@bugs.debian.org; Wed,
 25 May 2005 12:36:07 +0200 (CEST)
Received: from jorism by pluto.jorismooij.nl with local (Exim 4.50)
	id 1DatF9-0006so-51	for submit@bugs.debian.org; Wed, 25 May 2005 12:36:07 +0200
Date: Wed, 25 May 2005 12:36:07 +0200
From: Joris Mooij <j.mooij@science.ru.nl>
Subject: 'dpkg-reconfigure exim4-config' restarts MTA, but with old config
To: Debian Bug Tracking System <submit@bugs.debian.org>
Message-id: <E1DatF9-0006so-51@pluto.jorismooij.nl>
MIME-version: 1.0
X-Mailer: reportbug 3.8
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: exim4-config
Version: 4.50-4
Severity: normal

The command 'dpkg-reconfigure exim4-config' restarts exim4 after asking me for my new 
configuration (it displays "Restarting MTA: exim4"). Looking in the logs and with ps aux, 
I see that a new exim4 process is running. However, it uses the old config from _before_ I 
ran dpkg-reconfigure exim4-config. So effectively, there is a time-delay of exactly one 
configuration, i.e. the configuration that is used by the running exim4 is not the most 
recent but one version older. However, the file /var/lib/exim4/config.autogenerated does
contain the new config. So this is quite confusing if you try to debug your configuration.
Doing an additional invoke-rc.d exim4 restart loads the new config; however since the
'dpkg-reconfigure exim4-config' already does that one would not expect that this is 
necessary.

If I use the other method of configuring (editing /etc/exim4/update-exim4.conf.conf by
hand, then running update-exim4.conf, then issuing invoke-rc.d exim4 restart) the new
config is applied immediately.

I do not know whether this is a bug in exim4 or in exim4-config, but I suspect it is in 
exim4-config.

-- Package-specific info:
Exim version 4.50 #1 built 02-Mar-2005 07:41:23
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 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='smarthost'
dc_other_hostnames='jorismooij.nl'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.planet.nl'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
mailname:jorismooij.nl

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages exim4-config depends on:
ii  adduser                 3.63             Add and remove users and groups
ii  debconf [debconf-2.0]   1.4.30.13        Debian configuration management sy
ii  passwd                  1:4.0.3-31sarge5 change and administer password and

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: mail.planet.nl
* exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/mailname: jorismooij.nl
* exim4/dc_local_interfaces:
* exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: jorismooij.nl
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
* exim4/no_config: true
* exim4/hide_mailname: false
* exim4/dc_postmaster: jorism
  exim4/dc_readhost:
* exim4/use_split_config: false
  exim4/exim4-config-title:

---------------------------------------
Received: (at 310703-close) by bugs.debian.org; 26 May 2005 19:53:14 +0000
>From katie@ftp-master.debian.org Thu May 26 12:53:14 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DbOPp-0001bP-00; Thu, 26 May 2005 12:53:13 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DbOK8-0006bA-00; Thu, 26 May 2005 15:47:20 -0400
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 310703-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#310703: fixed in exim4 4.50-7
Message-Id: <E1DbOK8-0006bA-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 26 May 2005 15:47:20 -0400
Delivered-To: 310703-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 13

Source: exim4
Source-Version: 4.50-7

We believe that the bug you reported is fixed in the latest version of
exim4, which is due to be installed in the Debian FTP archive:

exim4-base_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-base_4.50-7_i386.deb
exim4-config_4.50-7_all.deb
  to pool/main/e/exim4/exim4-config_4.50-7_all.deb
exim4-daemon-heavy_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-daemon-heavy_4.50-7_i386.deb
exim4-daemon-light_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-daemon-light_4.50-7_i386.deb
exim4_4.50-7.diff.gz
  to pool/main/e/exim4/exim4_4.50-7.diff.gz
exim4_4.50-7.dsc
  to pool/main/e/exim4/exim4_4.50-7.dsc
exim4_4.50-7_all.deb
  to pool/main/e/exim4/exim4_4.50-7_all.deb
eximon4_4.50-7_i386.deb
  to pool/main/e/exim4/eximon4_4.50-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 310703@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated exim4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 26 May 2005 17:47:24 +0000
Source: exim4
Binary: eximon4 exim4-daemon-custom exim4-daemon-heavy exim4-base exim4 exim4-daemon-light exim4-config
Architecture: source i386 all
Version: 4.50-7
Distribution: unstable
Urgency: low
Maintainer: Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Description: 
 exim4      - metapackage to ease exim MTA (v4) installation
 exim4-base - support files for all exim MTA (v4) packages
 exim4-config - configuration for the exim MTA (v4)
 exim4-daemon-heavy - exim MTA (v4) daemon with extended features, including exiscan-ac
 exim4-daemon-light - lightweight exim MTA (v4) daemon
 eximon4    - monitor application for the exim MTA (v4) (X11 interface)
Closes: 299743 304838 305443 305957 306094 306349 306613 306970 307370 309174 310057 310118 310703
Changes: 
 exim4 (4.50-7) unstable; urgency=low
 .
   * Documentation Only Fixes
     - Fix grammar error in README.system_aliases. Thanks to Andreas
       Barth on IRC. (mh)
     - Optimize unencrypted authentication docs. Thanks to Drew Parsons.
       (mh) Closes: #305443
     - Clarify dc_smarthost host list processing in update-exim4.conf.8.
       (mh) Closes: #307370
     - Clarify split-config description in README.Debian.
       Thanks to Luc Saffre. (mh)
     - Fix a typo in README.Debian-accountname, thanks to Brett Parker. (mh)
     - Fix an issue in the exim manpage creating the illusion that
       whitespace is allowed between -d and its options.
       Thanks to Greg Kochanski. (mh) Closes: #309174
     - Start re-work of README.Debian FAQ.
     - Add "should -config depend on -base" question to README.Debian FAQ.
     - Link README.Debian to -daemon-light and -daemon-heavy, include a
       copy of README.Debian in -config.
       Thanks to Daniel Maier. (mh) #Closes: 310118
   * Translations
     - Update: cy (Welsh) by Dafydd Harries. (mh) Closes: #306349
     - New: vi (Vietnamese) by Clytie Siddall. (mh) Closes: #306613
     - Fix typos in pt.po (Thanks, Miguel Figueire) (am) Closes: #310057
   * Configuration Clarification
     - move the regexps in the local part checks to macros, adapt docs.
       Thanks to Adam M. Costello. (mh) Closes: #306094
   * Bug Fixes
     - preserve escape sequences like '\\N' in
       /etc/exim4/update-exim4.conf.conf:
       - use awk instead of sed in exim4-config.postinst (Thanks, Barry Kitson).
       - use printf '%s\n' "$foo" instead of echo "$foo". (echo in dash would
         swallow the second backslash)
       - actually making this work requires changes in debconf, too,
         see #306134.
       - (Closes: #305957) (am)
     - apply upstream patch from
       http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050425/msg00035.html
       in some circumstances, exim writes parts of /etc/passwd and/or
       /etc/group to the reject log. This scares people. (mh)
     - apply upstream patch from
       http://www.exim.org/mail-archives/exim-dev/2005-April/msg00012.html to
       only try SASL mechanisms that are actually specified in the
       configurations. Thanks to Juergen Kreileder. (mh) Closes: #299743
     - Build against libmysqlclient12-dev instead of libmysqlclient10-dev.
       (am) Closes: #306970
     - As "mail sent by smarthost; no local mail" aka satellite requires setting
       dc_readhost always ask this question. (am) Closes: #304838
     - Make nonsplit-config read /etc/exim4/exim4.conf.localmacros before
       /etc/exim4/exim4.conf.template to allow macros her as well. (mh)
     - Make it clear that "broken debconf" warning is issued by
       exim4-config.postinst
     - Make sure that "generated, do not touch" disclaimer in
       /var/lib/exim4/config.autogenerated always appears
     - [exim4-config] As the.config script stores answers in debconf's db and the
       postinst actually generates configurations files from these values
       restarting the daemon on dpkg-reconfigure has to be done in postinst. (am)
       Closes: #310703
Files: 
 21545fc2bc82cbbb44cca570a4849341 1057 mail important exim4_4.50-7.dsc
 b70f4d20da79d1f3305a6a905bd42497 466152 mail important exim4_4.50-7.diff.gz
 a32694022f7785397763eefe025d292d 814790 mail important exim4-base_4.50-7_i386.deb
 196b47b16047fb1c5e58073bb3dde4b5 369196 mail important exim4-daemon-light_4.50-7_i386.deb
 48d92050fa301c6e405b5a5247936dc2 78398 mail optional eximon4_4.50-7_i386.deb
 74d0ed9273d1feb59b795a8c48020be3 419712 mail optional exim4-daemon-heavy_4.50-7_i386.deb
 7d1c46976708ed315f69b23fbc294668 240896 mail important exim4-config_4.50-7_all.deb
 664c762a52bbc793e5ee6a901fd95891 1824 mail important exim4_4.50-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkKWFgwACgkQgZalRGu6PIT4HwCfYQ8vZbEO2ooc1Oc44GBs5Nmq
8dYAn03c1Ph6HknQq7kyWIvxxAVFVN1s
=7MVa
-----END PGP SIGNATURE-----