Bug#304033: marked as done (exim4-daemon-light: configure script hangs up -- breaks installation)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 17 Apr 2005 13:18:19 -0700


Your message dated Sun, 17 Apr 2005 16:02:12 -0400
with message-id <E1DNFy8-0008Lm-00@newraff.debian.org>
and subject line Bug#303351: fixed in exim4 4.50-6
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; 10 Apr 2005 12:52:45 +0000
>From ferenc@engard.hu Sun Apr 10 05:52:45 2005
Return-path: <ferenc@engard.hu>
Received: from catv-50630430.catv.broadband.hu (domesticus.fery-local.hu) [80.99.4.48] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DKbvg-0008CL-00; Sun, 10 Apr 2005 05:52:45 -0700
Received: from fery by domesticus.fery-local.hu with local (Exim 4.50)
	id 1DKbri-000464-8t
	for submit@bugs.debian.org; Sun, 10 Apr 2005 14:48:38 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ferenc Engard <ferenc@engard.hu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4-daemon-light: configure script hangs up -- breaks installation
X-Mailer: reportbug 3.8
Date: Sun, 10 Apr 2005 14:48:38 +0200
Message-Id: <E1DKbri-000464-8t@domesticus.fery-local.hu>
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-daemon-light
Version: 4.50-5
Severity: grave
Justification: renders package unusable

I installed exim4 replacing my old exim3 configuration, and selected to 
convert my config script to v4.

The configuration process of the package above dumped the new exim4
configuration  file, then hanged up. The relevant process list was the
following:

14382 pts/33   S+     0:04 apt-get install exim4 eximon4 exim4-doc-info exim4-doc-html
15165 pts/33   S+     0:07 /usr/bin/dpkg --configure exim4-config exim4-base libgpg-error0 libgcry
15307 pts/33   S+     0:07 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/exim4-d
15313 pts/33   S+     0:00 /bin/sh /var/lib/dpkg/info/exim4-daemon-light.postinst configure
15314 pts/33   S+     0:00 /bin/sh /usr/sbin/invoke-rc.d exim4 start
15330 pts/33   S+     0:00 /bin/sh /etc/init.d/exim4 start
15332 pts/33   S+     0:00 /bin/sh /usr/sbin/update-exim4.conf
15347 pts/33   S+     0:00 /bin/sh /usr/sbin/update-exim4.conf
15348 pts/33   S+     0:00 sed -e s/DEBCONF[^D][^E][^B].*DEBCONF//g
15349 pts/33   S+     0:00 grep -E -v ^[[:space:]]*#
15350 pts/33   S+     0:00 sed -e /^$/N;/\n$/D

Sending SIGHUP to process 15349 resulted:

/usr/sbin/update-exim4.conf: line 250: 15349 Hangup                  grep -E -v '^[[:space:]]*#'
     15350                       | sed -e '/^$/N;/\n$/D'


I looked the (possibly generated) /usr/sbin/update-exim4.conf, and 
(although I didn't checked what it is doing really) I found the following 
code, which looks doubtful:

    276                         sed -e "s/DEBCONF[^D][^E][^B].*DEBCONF//g" \
    277                                 > ${UPEX4C_outputfile}.tmp
    278                 else
    279                         cat /etc/exim4/exim4.conf.template
    280                         removecomments | \
    281                         sed -e "s/DEBCONF[^D][^E][^B].*DEBCONF//g" \
    282                                 > ${UPEX4C_outputfile}.tmp
    283                 fi
    284                 mv -f ${UPEX4C_outputfile}.tmp ${UPEX4C_outputfile}
    285                 chmod ${CFILEMODE} ${UPEX4C_outputfile}
    286                 [ "${UPEX4C_verbose}" = "yes" ] && \

I suspect that from the end of line 279 the "| \" string is missing.

I hope it was not me who made something silly... Regards:
Ferenc Engard

-- Package-specific info:
Exim version 4.50 #1 built 03-Apr-2005 07:22:57
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'
#
# 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='exim3manual'
dc_other_hostnames='domesticus:domesticus.fery-local.hu:circum-local.hu:valami.hu'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains='fery-local.hu'
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/16'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='false'
mailname:linuxserver

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages exim4-daemon-light depends on:
ii  exim4-base                  4.50-5       support files for all exim MTA (v4
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libgnutls11                 1.0.16-13    GNU TLS library - runtime library
ii  libpcre3                    5.0-1        Perl 5 Compatible Regular Expressi

-- no debconf information

---------------------------------------
Received: (at 303351-close) by bugs.debian.org; 17 Apr 2005 20:12:01 +0000
>From katie@ftp-master.debian.org Sun Apr 17 13:12:01 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 1DNG7d-0000pw-00; Sun, 17 Apr 2005 13:12:01 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DNFy8-0008Lm-00; Sun, 17 Apr 2005 16:02:12 -0400
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 303351-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#303351: fixed in exim4 4.50-6
Message-Id: <E1DNFy8-0008Lm-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 17 Apr 2005 16:02:12 -0400
Delivered-To: 303351-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: 2

Source: exim4
Source-Version: 4.50-6

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-6_i386.deb
  to pool/main/e/exim4/exim4-base_4.50-6_i386.deb
exim4-config_4.50-6_all.deb
  to pool/main/e/exim4/exim4-config_4.50-6_all.deb
exim4-daemon-heavy_4.50-6_i386.deb
  to pool/main/e/exim4/exim4-daemon-heavy_4.50-6_i386.deb
exim4-daemon-light_4.50-6_i386.deb
  to pool/main/e/exim4/exim4-daemon-light_4.50-6_i386.deb
exim4_4.50-6.diff.gz
  to pool/main/e/exim4/exim4_4.50-6.diff.gz
exim4_4.50-6.dsc
  to pool/main/e/exim4/exim4_4.50-6.dsc
exim4_4.50-6_all.deb
  to pool/main/e/exim4/exim4_4.50-6_all.deb
eximon4_4.50-6_i386.deb
  to pool/main/e/exim4/eximon4_4.50-6_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 303351@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: Sun, 17 Apr 2005 19:10:26 +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-6
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: 299733 303351 304436
Changes: 
 exim4 (4.50-6) unstable; urgency=low
 .
   * fix some errors in update-exim4.conf(8) manpage. (am)
   * more macros in config. (mh)
   * Apply upstream fix: $primary_hostname is now expanded in
     cyrus_sasl authenticator. Thanks to Juergen Kreileder, and of
     course Philip Hazel. (mh) Closes: 299733
   * fix conftype none missing "| \" bug, again. Thanks to Andrew Nimmo
     and Gabriel L. Briones III. (mh) Closes: 303351.
   * The upstream fix for #296492 sometimes causes an endless loop. Update
     patch with correction from Philip's commit, revision 1.10. (mh)
   * Document real_local router. (mh)
   * Add instructions about how to use inetd. Thanks to Ryan Underwood.
     (mh) Closes: #304436
   * Fix wrong file header in 100_exim4-config_domain_literal. (mh)
   * Fix bad english in 01_exim4-config_listmacrosdefs. (mh)
   * conf.d/main/02_exim4-config_options: Remove macro effort for options
     that we leave at their default by default anyway, re-commenting them
     for reference. (am)
   * Allow cleartext client AUTH PLAIN and AUTH LOGIN by setting a
     macro. (mh)
   * Update information in README.SMTP-AUTH. (mh)
Files: 
 f4432415621376ae844f30bd61d6a0c0 1057 mail important exim4_4.50-6.dsc
 7179a40772f60bcdb922dea4ed27e3ad 450101 mail important exim4_4.50-6.diff.gz
 d447c11a0665467e665c8b8129b3c286 812468 mail important exim4-base_4.50-6_i386.deb
 3b6f949dd6a13ae071b9dd19add0ed5c 368140 mail important exim4-daemon-light_4.50-6_i386.deb
 5e3da50cddba8ca96d1ba479462a6e8c 77374 mail optional eximon4_4.50-6_i386.deb
 ab4fd8b4e47dc76aa02c2d02bfca8f43 418514 mail optional exim4-daemon-heavy_4.50-6_i386.deb
 9984f8f6dd71d5840436e1e3bb023d68 225920 mail important exim4-config_4.50-6_all.deb
 2c0c6cce8f55ef3f1f6588561481d409 1832 mail important exim4_4.50-6_all.deb

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

iEYEARECAAYFAkJivRgACgkQgZalRGu6PIT/kACfaCHGrprZgfNPzTr0r/b5hCvx
0EwAoI+MTQtM5IkmV0QolAuaFKbo7DhR
=YvHX
-----END PGP SIGNATURE-----