Package: pdns-server
Version: 2.9.17-13
The pdns-server.config script fails if pdns.conf contains multiple
allow-recursion=... statements because it calls -
db_set pdns-server/allowrecursion ...
- with a multi-line argument -
fis:~# dpkg --configure pdns-server
Setting up pdns-server (2.9.17-13) ...
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ PDNSCONF=/etc/powerdns/pdns.conf
+ db_version 2.0
+ _db_cmd 'VERSION 2.0'
+ echo 'VERSION 2.0'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=2.0
+ return 0
+ '[' '!' -f /etc/powerdns/pdns.conf ']'
++ cat /etc/powerdns/pdns.conf
++ grep '^local-address='
++ awk -F = '{print $2}'
+ LOCAL=0.0.0.0
++ cat /etc/powerdns/pdns.conf
++ grep '^allow-recursion='
++ awk -F = '{print $2}'
+ RECURSION='127.0.0.1
192.168.0.83'
+ '[' '!' -z '127.0.0.1
192.168.0.83' ']'
+ db_set pdns-server/allowrecursion '127.0.0.1
192.168.0.83'
+ _db_cmd 'SET pdns-server/allowrecursion' '127.0.0.1
192.168.0.83'
+ echo 'SET pdns-server/allowrecursion' '127.0.0.1
192.168.0.83'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET='value set'
+ return 0
+ '[' '!' -z 0.0.0.0 ']'
+ db_set pdns-server/localaddress 0.0.0.0
+ _db_cmd 'SET pdns-server/localaddress' 0.0.0.0
+ echo 'SET pdns-server/localaddress' 0.0.0.0
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET='20 Unsupported command "192.168.0.83" (full line was
"192.168.0.83") received from confmodule.'
+ return 20
dpkg: error processing pdns-server (--configure):
subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
pdns-server
fis:~#
Thanks totally for maintaining powerdns in debian!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]