pdns-server doen't complete post-installation script
Bug #195509 reported by
Christian Lofstedt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pdns (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
ucf (Debian) |
Fix Released
|
Unknown
|
|||
ucf (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pdns-server
# apt-get install pdns-backend-mysql pdns_server
Setting up pdns-server (2.9.21-5) ...
Creating user and group pdns...done
(this is where it pauses and does nothing)
Some simple debugging info follows.
The post-install script makes it to this line:
ucf $PDNSCONFTEMP $PDNSCONF
The script tries to run this command:
ucf /tmp/tmp.DPDRT13701 /etc/powerdns/
Running that line manually works flawlessly but for some reason it makes the post-install script hang.
Tested on two different installs of Hardy alpha4+5 (pdns-server-
Changed in ucf: | |
status: | Unknown → Fix Released |
Changed in ucf: | |
status: | New → Fix Released |
Changed in ucf: | |
status: | Fix Released → Confirmed |
To post a comment you must log in.
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:~#