Your message dated Sun, 25 Oct 2015 16:22:27 +0000 with message-id <e1zqo3v-00066o...@franck.debian.org> and subject line Bug#798773: fixed in pdns 3.4.6-3 has caused the Debian Bug report #798773, regarding postinst script handles comments in config file incorrectly to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 798773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798773 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: pdns-server Version: 3.4.1-4+deb8u3 Hi, The postinst script tries to find any “include=…” lines in pdns.conf in order to find the pdns config directory. However, the script fails to ignore comments in the configuration file, so “#include=…” lines (or basically any lines containing “include”) will match as well. This can cause error messages from ucfr such as Setting up pdns-server (3.4.1-4+deb8u3) ... ucfr: *** ERROR: Need exactly two arguments, got 3 [ … ucfr usage output follows … ] dpkg: error processing package pdns-server (--configure): subprocess installed post-installation script returned error exit status 3 Errors were encountered while processing: pdns-server E: Sub-process /usr/bin/dpkg returned an error code (1) The culprit lies in pdns-server.postinst line 20: PDNSDIR=`cat $PDNSCONF | grep include | awk -F '=' '{print $2}'` I think an easy, but effective fix could be as simple as: PDNSDIR=`cat $PDNSCONF | grep '^include' | awk -F '=' '{print $2}'` Regards, -- Leon.
pgphl_s9CP3bz.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: pdns Source-Version: 3.4.6-3 We believe that the bug you reported is fixed in the latest version of pdns, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 798...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christian Hofstaedtler <z...@debian.org> (supplier of updated pdns package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 25 Oct 2015 15:22:57 +0000 Source: pdns Binary: pdns-server pdns-server-dbg pdns-tools pdns-backend-pipe pdns-backend-ldap pdns-backend-geoip pdns-backend-mysql pdns-backend-pgsql pdns-backend-sqlite3 pdns-backend-lua pdns-backend-lmdb pdns-backend-remote pdns-backend-mydns pdns-backend-tinydns Architecture: source Version: 3.4.6-3 Distribution: unstable Urgency: medium Maintainer: Debian PowerDNS Maintainers <pkg-pdns-maintain...@lists.alioth.debian.org> Changed-By: Christian Hofstaedtler <z...@debian.org> Description: pdns-backend-geoip - geoip backend for PowerDNS pdns-backend-ldap - LDAP backend for PowerDNS pdns-backend-lmdb - lmdb backend for PowerDNS pdns-backend-lua - Lua backend for PowerDNS pdns-backend-mydns - MyDNS compatibility backend for PowerDNS pdns-backend-mysql - generic MySQL backend for PowerDNS pdns-backend-pgsql - generic PostgreSQL backend for PowerDNS pdns-backend-pipe - pipe/coprocess backend for PowerDNS pdns-backend-remote - remote backend for PowerDNS pdns-backend-sqlite3 - sqlite 3 backend for PowerDNS pdns-backend-tinydns - tinydns compatibility backend for PowerDNS pdns-server - extremely powerful and versatile nameserver pdns-server-dbg - debugging symbols for PowerDNS pdns-tools - Tools for DNS debugging by PowerDNS Closes: 798773 802737 Changes: pdns (3.4.6-3) unstable; urgency=medium . * Remove unused Build-Dependencies * pdns-tools: Correctly Break/Replace pdns-server << 3.4.6-2. As some pdns-tools files were previously shipped in pdns-server. Thanks to Andreas Beckmann <a...@debian.org> (Closes: #802737) * Fix upgrades with default configuration. The postinst script used to do a "grep include" on pdns.conf, which in older versions would work (mostly), because the default config only had a single "include=" entry. Now this is no longer true, so remove that. Also, changing the include directory would have never worked. (Closes: #798773) Thanks to Stephen Frost <sfr...@snowman.net>. Checksums-Sha1: 17e0427b7d39d93f460171dbeb1f036d410af4eb 3209 pdns_3.4.6-3.dsc 996d78dbcab0f456911594d198fea0913e98ca0f 43644 pdns_3.4.6-3.debian.tar.xz Checksums-Sha256: 53bfdbc14e9bac0aa97f65c1d548844fc0814fc5f71d038194243cc458009529 3209 pdns_3.4.6-3.dsc 85d1013fe62d8d644678f483eaaa7628974f49092be7e177254fba2498c66b0c 43644 pdns_3.4.6-3.debian.tar.xz Files: 4ab0e08952d4b1ead5e1b9fc483ae3cb 3209 net extra pdns_3.4.6-3.dsc 2896320ec3be2dfaea9b512ef1f97cb0 43644 net extra pdns_3.4.6-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWLPyQAAoJEFwT1tuTBS4DRm8P/04OMFMrHQxB1t2HpqjqjOP5 D07cnTRcFH1e+hp4r0bg0ECYRjOeNVdQ9VtMSGSMfo6zl0ZIY3CuQkahguBWoT0n tvevfQFI5HIzFz8ZDewmBzzHcJCIdE9kvndnAt9tPCSqsSOqM44bs5j+UYbB9h88 6Up5iVQLOZNrdH75vh649Xn3UWn3nwM+FhePl8ajbVuB5xUOrMBeZxTS9rv4tphO pdurY9zaXkfi0QhjOiJi6u2hS8tu2pUa0Iq1N/jBr1uBd1hKIBN3rAJiRtqSnHTL JuekOZNnd09u0diSnJtGG3XIkbzZMV4CrTaCcH9V6ZOT6nV6uydPSqI5ew7k0hcg vYzAWKKiN6m/Kn0U9+N6lWbJq20k2UvpHJUFGtNjRdEWB5lvV9STEFVjxPSEKLEV o5JouPz2yYgnALQaxA1un59lIUkz2fTYMVlv0FTWiqiYt8BieiEF0X22euqZb7u8 +oNT2Vgp6LiAZbjsrpPo7v/XYW9HlhYGgqQowyILt5IoWY5DLsTJaUnnZuJY9tS0 Vja/loYJSeqhVwyFA3+upZEQXcboaSezrdFxhRoTUvl7UIwAuAAazA7+DgyV0vys Z42I/wzQLzIFKTqC3yHPAUM5+eUJe9NOuik81k9r76GwuUbR8YixMcioQKM0dSN2 SLtb5KpS6RAeUMbfkTXf =rk98 -----END PGP SIGNATURE-----
--- End Message ---