Debian Bug report logs - #164396
debconf requires extra work for daemons

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: <[email protected]>

Date: Sat, 12 Oct 2002 00:33:01 UTC

Severity: normal

Tags: wontfix

Merged with 50595

Found in version 1.2.10

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#164396: debconf: Debconf's frontend fail to detect finish of maintainer scripts on a perl 5.8.0 envirovment
Reply-To: [email protected], [email protected]
Resent-From: [email protected]
Resent-To: [email protected]
Resent-CC: Joey Hess <[email protected]>, [email protected]
Resent-Date: Sat, 12 Oct 2002 18:48:11 GMT
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 164396
X-Debian-PR-Package: debconf
X-Debian-PR-Keywords: moreinfo
Received: via spool by [email protected] id=B164396.103444778715118
          (code B ref 164396); Sat, 12 Oct 2002 18:48:11 GMT
Date: Sat, 12 Oct 2002 20:35:57 +0200
To: Joey Hess <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
References: <[email protected]> <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb"
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.4i
From: [email protected]
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)
Delivered-To: [email protected]
[Message part 1 (text/plain, inline)]
On Sat, Oct 12, 2002 at 01:54:19PM -0400, Joey Hess wrote:

> Do these start daemons? 

They could restart the webserver throught the wwwconfig-common
interface.

> Can you find some examples of packages that I can
> install to reproduce your problem without waiting an hour on the download
> and dragging in tons of random libraries and installing a sql server?

Sorry about that. The SQL server you don't have to be installed. Just the
mysql-client, and then ask debconf not to generate the database.

>If
> this is some general problem with perl 5.8 SIGPIPE propigation as you
> seem to imply I'd expect that it would break every package; why is it
> seemingly limited to php packages? 

I have isolate a little bit the problem. It seems to occur only when you
ask debconf to restart the webserver (tested with apache). If you ask
not to configure any webserver, it seems to die properly.

> Is there any chance that these
> packages' postinsts echo random stuff at stdout and thus confuse
> debconf? Where is the DEBCONF_DEBUG transcript that all the debconf
> documentation says you should submit with bug reports of this sort?

I did not sent you before because it was completly normal till the point
where it dies. Here it goes:

RA:/home/hec# apt-get install phpnuke
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  phpnuke
  0 packages upgraded, 1 newly installed, 0 to remove and 0  not
  upgraded.
  Need to get 0B/1906kB of archives. After unpacking 11.0MB will be
  used.
  Preconfiguring packages ...
  debconf (developer): starting /tmp/config.87531 configure
  debconf (developer): <-- INPUT medium phpnuke/webserver
  debconf (developer): --> 0 question will be asked
  debconf (developer): <-- INPUT medium phpnuke/dbgeneration
  debconf (developer): --> 0 question will be asked
  debconf (developer): <-- GO
  debconf (developer): --> 0 ok
  debconf (developer): <-- GET phpnuke/dbgeneration
  debconf (developer): --> 0 false
  debconf (developer): <-- INPUT low phpnuke/dbgeneration_negation
  debconf (developer): --> 30 question skipped
  debconf (developer): <-- GO
  debconf (developer): --> 0 ok
  Selecting previously deselected package phpnuke.
  (Reading database ... 38239 files and directories currently
  installed.)
  Unpacking phpnuke (from .../archives/phpnuke_5.6-4_all.deb) ...
  Setting up phpnuke (5.6-4) ...
  debconf (developer): frontend started
  debconf (developer): frontend running, package name is phpnuke
  debconf (developer): starting /var/lib/dpkg/info/phpnuke.config
  configure
  debconf (developer): <-- INPUT medium phpnuke/webserver
  debconf (developer): --> 30 question skipped
  debconf (developer): <-- INPUT medium phpnuke/dbgeneration
  debconf (developer): --> 30 question skipped
  debconf (developer): <-- GO
  debconf (developer): --> 0 ok
  debconf (developer): <-- GET phpnuke/dbgeneration
  debconf (developer): --> 0 false
  debconf (developer): <-- INPUT low phpnuke/dbgeneration_negation
  debconf (developer): --> 30 question skipped
  debconf (developer): <-- GO
  debconf (developer): --> 0 ok
  debconf (developer): starting /var/lib/dpkg/info/phpnuke.postinst
  configure
  debconf (developer): <-- GET phpnuke/webserver
  debconf (developer): --> 0 Apache
  debconf (developer): <-- GET phpnuke/dbadmin
  debconf (developer): --> 0 root
  debconf (developer): <-- GET phpnuke/dbadmpass
  debconf (developer): --> 0
  debconf (developer): <-- RESET phpnuke/dbadmpass
  debconf (developer): --> 0
  debconf (developer): <-- GET phpnuke/dbserver
  debconf (developer): --> 0 localhost
  debconf (developer): <-- GET phpnuke/dbgeneration
  debconf (developer): --> 0 false
  

And then it dies. If you ask a "ps ax", you'll find

 8738 pts/2    S      0:07 apt-get install phpnuke
 8794 pts/2    S      0:10 /usr/bin/dpkg --configure phpnuke
 8795 pts/2    S      0:09 /usr/bin/perl -w \
  /usr/share/debconf/frontend /var/lib/dpkg/info/phpnuke.postinst \
  configure
 8801 pts/2    Z      0:00 [phpnuke.postins <defunct>]
    
 
> What do you mean by "compiled on perl 5.6 environment"? None of the
> packages you named are compiled against perl at all.

I just meant 'built and tested on a machine with perl 5.6'. Improper use
of words, i know.

So, as far as i discover by now, it happens only when you say debconf to
restart apache (maybe other webservers) through wwwconfig-common.

I will try to look for same behaviour on other packages restarting
apache by wwwconfig-common and without it.

Regards.

Hugo Espuny

-- 

"I've seen things you people wouldn't believe, huh!
  Attack ships on fire off the shoulder of Orion.
  I've watched C-beams glittering in the dark near the Tannhauser Gate.
  All those moments will be lost in time, like tears ... in the rain.
  Time to die."
    -- Roy Batty, nexus 6 Tyrrel Corp. replicant, 2019 AC, L.A. --

pub  1024D/E8074ECF 2002-06-28 Hugo Espuny <[email protected]>
     Key fingerprint = D324 3DC4 1F2A 0936 DEB9  A4D9 D24A 8237 E807 4ECF
sub  2048g/5FE11467 2002-09-29
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 15:24:07 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.