Confirmed on hardy:
root@kontiki:~# sudo vim /var/lib/dpkg/info/pdns-server.postinst # add -x to the #!/bin/sh line root@kontiki:~# dpkg --configure pdns-server Setting up pdns-server (2.9.21-5) ... + set -e + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/pdns-server.postinst configure + set -e + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + PDNSCONF=/etc/powerdns/pdns.conf + PDNSDEFAULT=/etc/default/pdns + [ -e /etc/powerdns/pdns.conf ] + [ -z ] + PDNSDIR=/etc/powerdns/pdns.d + PDNSLOCAL=/etc/powerdns/pdns.d/pdns.local + mktemp + PDNSCONFTEMP=/tmp/tmp.WFsxCq6792 + mktemp + PDNSLOCALTEMP=/tmp/tmp.mHkvGR6793 + mktemp + PDNSDEFAULTTEMP=/tmp/tmp.hxHFkn6794 + getent group pdns + [ -z pdns:x:130: ] + getent passwd pdns + [ -z pdns:x:116:130:PowerDNS,,,:/var/spool/powerdns:/bin/false ] + cat /usr/share/pdns-server/pdns.conf + cat /usr/share/pdns-server/pdns.local + cat /usr/share/pdns-server/pdns + splitconfig + [ -e /etc/powerdns/pdns.conf ] + db_get pdns-server/localaddress + _db_cmd GET pdns-server/localaddress + IFS= printf %s\n GET pdns-server/localaddress + IFS= read -r _db_internal_line + RET= + return 0 + [ ! -z ] + db_get pdns-server/allowrecursion + _db_cmd GET pdns-server/allowrecursion + IFS= printf %s\n GET pdns-server/allowrecursion + IFS= read -r _db_internal_line + RET=127.0.0.1 + return 0 + [ ! -z 127.0.0.1 ] + sed -i -e s|^\(#\)\?\(# \)\?allow-recursion=.*$|allow-recursion=127.0.0.1| /tmp/tmp.WFsxCq6792 + db_get pdns-server/autostart + _db_cmd GET pdns-server/autostart + IFS= printf %s\n GET pdns-server/autostart + IFS= read -r _db_internal_line + RET=true + return 0 + [ -z true ] + [ true = true ] + sed -i -e s/^START=.*$/START=yes/ /tmp/tmp.hxHFkn6794 + db_stop + echo STOP + ucf /tmp/tmp.WFsxCq6792 /etc/powerdns/pdns.conf # freezes here # ctl-c dpkg: error processing pdns-server (--configure): subprocess post-installation script killed by signal (Interrupt) Errors were encountered while processing: pdns-server root@kontiki:~# root@kontiki:~# ucf /tmp/tmp.WFsxCq6792 /etc/powerdns/pdns.conf
Creating config file /etc/powerdns/pdns.conf with new version root@kontiki:~#
Confirmed on hardy:
root@kontiki:~# sudo vim /var/lib/ dpkg/info/ pdns-server. postinst debconf/ confmodule debconf/ frontend /var/lib/ dpkg/info/ pdns-server. postinst configure debconf/ confmodule /etc/powerdns/ pdns.conf /etc/default/ pdns pdns.conf ] /etc/powerdns/ pdns.d /etc/powerdns/ pdns.d/ pdns.local /tmp/tmp. WFsxCq6792 /tmp/tmp. mHkvGR6793 =/tmp/tmp. hxHFkn6794 116:130: PowerDNS, ,,:/var/ spool/powerdns: /bin/false ] pdns-server/ pdns.conf pdns-server/ pdns.local pdns-server/ pdns pdns.conf ] localaddress localaddress localaddress allowrecursion allowrecursion allowrecursion recursion= .*$|allow- recursion= 127.0.0. 1| /tmp/tmp.WFsxCq6792 autostart autostart autostart .*$/START= yes/ /tmp/tmp.hxHFkn6794 pdns.conf pdns.conf
# add -x to the #!/bin/sh line
root@kontiki:~# dpkg --configure pdns-server
Setting up pdns-server (2.9.21-5) ...
+ set -e
+ . /usr/share/
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/
+ set -e
+ . /usr/share/
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ PDNSCONF=
+ PDNSDEFAULT=
+ [ -e /etc/powerdns/
+ [ -z ]
+ PDNSDIR=
+ PDNSLOCAL=
+ mktemp
+ PDNSCONFTEMP=
+ mktemp
+ PDNSLOCALTEMP=
+ mktemp
+ PDNSDEFAULTTEMP
+ getent group pdns
+ [ -z pdns:x:130: ]
+ getent passwd pdns
+ [ -z pdns:x:
+ cat /usr/share/
+ cat /usr/share/
+ cat /usr/share/
+ splitconfig
+ [ -e /etc/powerdns/
+ db_get pdns-server/
+ _db_cmd GET pdns-server/
+ IFS= printf %s\n GET pdns-server/
+ IFS=
read -r _db_internal_line
+ RET=
+ return 0
+ [ ! -z ]
+ db_get pdns-server/
+ _db_cmd GET pdns-server/
+ IFS= printf %s\n GET pdns-server/
+ IFS=
read -r _db_internal_line
+ RET=127.0.0.1
+ return 0
+ [ ! -z 127.0.0.1 ]
+ sed -i -e s|^\(#\)\?\(# \)\?allow-
+ db_get pdns-server/
+ _db_cmd GET pdns-server/
+ IFS= printf %s\n GET pdns-server/
+ IFS=
read -r _db_internal_line
+ RET=true
+ return 0
+ [ -z true ]
+ [ true = true ]
+ sed -i -e s/^START=
+ db_stop
+ echo STOP
+ ucf /tmp/tmp.WFsxCq6792 /etc/powerdns/
# freezes here
# ctl-c
dpkg: error processing pdns-server (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
pdns-server
root@kontiki:~#
root@kontiki:~# ucf /tmp/tmp.WFsxCq6792 /etc/powerdns/
Creating config file /etc/powerdns/ pdns.conf with new version
root@kontiki:~#