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

Debian Bug Tracking System owner@bugs.debian.org
Wed, 25 May 2005 16:33:12 -0700


Your message dated Thu, 26 May 2005 01:27:32 +0200
with message-id <20050525232732.GA26471@lefler.int.l21.ma.zugschlus.de>
and subject line Closing bugs aftger 4.50-6 has been approved for sarge
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-done) by bugs.debian.org; 25 May 2005 23:27:35 +0000
>From mh+debian-packages@zugschlus.de Wed May 25 16:27:35 2005
Return-path: <mh+debian-packages@zugschlus.de>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Db5Hj-00074Q-00; Wed, 25 May 2005 16:27:35 -0700
Received: from lefler.int.l21.ma.zugschlus.de ([192.168.130.38])
	by torres.int.l21.ma.zugschlus.de with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1Db5Hh-0005T0-R4; Thu, 26 May 2005 01:27:33 +0200
Received: from mh by lefler.int.l21.ma.zugschlus.de with local (Exim 4.50)
	id 1Db5Hg-0006xJ-TP; Thu, 26 May 2005 01:27:32 +0200
Date: Thu, 26 May 2005 01:27:32 +0200
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 307961-done@bugs.debian.org, 297670-done@bugs.debian.org,
	299051-done@bugs.debian.org, 302060-done@bugs.debian.org,
	303351-done@bugs.debian.org, 304033-done@bugs.debian.org,
	299732-done@bugs.debian.org, 296492-done@bugs.debian.org,
	299733-done@bugs.debian.org, 300967-done@bugs.debian.org
Cc: Marc Haber <mh+debian-packages@zugschlus.de>
Subject: Closing bugs aftger 4.50-6 has been approved for sarge
Message-ID: <20050525232732.GA26471@lefler.int.l21.ma.zugschlus.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 303351-done@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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 8

These bugs are now fixed in sarge as well.

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