Package: wims
Version: 1:4.07a~dfsg1-4
Severity: normal
Tags: patch

Dear Maintainer,
I was able to reproduce with:
DEBCONF_DEBUG=developer /var/lib/dpkg/info/wims.postinst configure 1

the transactions are fine, exit 0 of the wims.postinst execute,
then deconf parent script wait forever with the wims.postinst
child zombie.

I added dn_stop (at end at first then after the $RET grab of
db_get). Attached patch is the latter.

Best regards
Alban

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.11-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages wims depends on:
ii  adduser                    3.113+nmu3
ii  bsd-mailx [mailx]          8.1.2-0.20131005cvs-1
ii  chemeq                     2.11-1
ii  cpp                        4:4.8.1-3
ii  debconf [debconf-2.0]      1.5.52
ii  fortunes                   1:1.99.1-7
ii  gnuplot                    4.6.4-1
ii  graphviz                   2.26.3-15+b1
ii  imagemagick                8:6.7.7.10-6
ii  ldap-utils                 2.4.31-1+nmu2+b1
ii  libc6                      2.17-96
ii  libgcc1                    1:4.8.2-5
ii  libgd3                     2.1.0-3
ii  libjs-edit-area            0.8.2-1
ii  libjs-jquery               1.7.2+dfsg-3
ii  libjs-jquery-metadata      8-2
ii  libjs-mootools             1.4.5~debian1-2.1
ii  libjs-prototype            1.7.1-3
ii  libstdc++6                 4.8.2-5
ii  maxima                     5.31.3-5
ii  maxima-share               5.31.3-5
ii  octave                     3.6.4-4
ii  pari-gp                    2.5.5-1
ii  texlive-base               2013.20131112-1
ii  texlive-fonts-recommended  2013.20131112-1
ii  texlive-latex-base         2013.20131112-1
ii  units-filter               3.5-3
ii  wims-modules               1:4.07a~dfsg1-4

Versions of packages wims recommends:
ii  apache2              2.4.6-3
ii  apache2-bin [httpd]  2.4.6-3
ii  gap                  4r6p5-3
ii  wims-help            4.01-2
ii  wims-java-applets    1:4.07a~dfsg1-4
ii  yacas                1.3.3-2

wims suggests no packages.

-- debconf information:
* wims/reconfigure-webserver: apache2
* wims/restart-webserver: true
--- wims.postinst.old	2013-11-19 20:34:23.000000000 +0100
+++ wims.postinst.new	2013-11-19 20:36:14.000000000 +0100
@@ -105,6 +105,7 @@
       # reconfigure the webserver if necessary
       db_get wims/reconfigure-webserver
       webservers="$RET"
+      db_stop || true
       restart=""
       # remove a previous file if existing for apache2.2
       rm -f /etc/apache2/conf.d/wims.conf

Reply via email to