Package: pdns-server
Version: 2.9.21-6
Severity: important

After upgrading to 2.6.21-6, pdns configuration was broken. The
pdns-server postinst script does some magic in splitconfig(),
copying values from pdns.conf to pdns.conf.local. However, that
does not work with multi-line configuration options, which are
supported by PowerDNS.

For example, my pdns.conf contains the following:

gmysql-basic-query=select records.content, records.ttl, records.prio, \
records.type, records.domain_id, records.name from records \
inner join domains on records.domain_id=domains.id \
where records.active='yes' and domains.active='yes' and \
records.type='%s' and records.name='%s'

After the upgrade, pdns.conf.local contained the following:

gmysql-basic-query=select
records.content,
records.ttl,
records.prio,
\

Resulting in breakage, best identified by the following message
in syslog:

Apr  9 12:03:33 whisky pdns[20485]: Fatal error: Trying to set
unexisting parameter 'records.content,'


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-4-vserver-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to