Your message dated Thu, 15 Sep 2005 13:48:03 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326260: fixed in pdns 2.9.18-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Sep 2005 18:56:45 +0000
>From [EMAIL PROTECTED] Fri Sep 02 11:56:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from eth-jhennes-28.cal.net (sky.bluelinux.co.uk) [216.57.75.137] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EBGiT-00008D-00; Fri, 02 Sep 2005 11:56:45 -0700
Received: by sky.bluelinux.co.uk (Postfix, from userid 1001)
        id C659C1A00AA; Fri,  2 Sep 2005 20:10:33 +0100 (BST)
Date: Fri, 2 Sep 2005 20:10:33 +0100
From: Robert McQueen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: pdns-backend-mysql: sed on non-existent pdns.local makes postrm fail
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.8
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: pdns-backend-mysql
Version: 2.9.17-13sarge1
Severity: serious

The postrm says:

PDNSCONF=/etc/powerdns/pdns.conf
PDNSDIR=`cat $PDNSCONF | grep include | awk -F '=' '{print $2}'`
PDNSLOCAL=$PDNSDIR/pdns.local
...
case "$1" in
  remove)
      sed -i -e 's/^gmysql/# gmysql/' $PDNSLOCAL
...

My pdns.conf has no line saying include in it because when I upgraded
from the previous version, I didn't put the new config file in[*], so
PDNSLOCAL is set to "/pdns.local". So we get this:

Stopping PowerDNS authoritative nameserver: not running
sed: can't read /pdns.local: No such file or directory
dpkg: error processing pdns-backend-mysql (--remove):
 subprocess post-removal script returned error exit status 2

Bad mojo...

Regards,
Rob

*: Now I've looked, I appreciate that the include pdns.d way is
better, but when I was upgrading to sarge and answered the question
I didn't know that my existing config was already reflected in
pdns.d/pdns.local. It might've been a good idea to ship a NEWS.Debian
explaining this but it's a bit late for sarge now... :)

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.24-xfs-exec-shield-sky1
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages pdns-backend-mysql depends on:
ii  libc6                  2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgcc1                1:3.4.3-13      GCC support library
ii  libmysqlclient12       4.0.24-10       mysql database client library
ii  libstdc++5             1:3.3.5-13      The GNU Standard C++ Library v3
rc  pdns-server            2.9.17-13sarge1 extremely powerful and versatile

-- no debconf information

---------------------------------------
Received: (at 326260-close) by bugs.debian.org; 15 Sep 2005 20:51:57 +0000
>From [EMAIL PROTECTED] Thu Sep 15 13:51:57 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EG0eJ-0007Cu-00; Thu, 15 Sep 2005 13:48:03 -0700
From: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326260: fixed in pdns 2.9.18-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 15 Sep 2005 13:48:03 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: pdns
Source-Version: 2.9.18-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:

pdns-backend-geo_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-geo_2.9.18-3_i386.deb
pdns-backend-ldap_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-ldap_2.9.18-3_i386.deb
pdns-backend-mysql_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-mysql_2.9.18-3_i386.deb
pdns-backend-pgsql_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-pgsql_2.9.18-3_i386.deb
pdns-backend-pipe_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-pipe_2.9.18-3_i386.deb
pdns-backend-sqlite_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-backend-sqlite_2.9.18-3_i386.deb
pdns-doc_2.9.18-3_all.deb
  to pool/main/p/pdns/pdns-doc_2.9.18-3_all.deb
pdns-recursor_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-recursor_2.9.18-3_i386.deb
pdns-server_2.9.18-3_i386.deb
  to pool/main/p/pdns/pdns-server_2.9.18-3_i386.deb
pdns_2.9.18-3.diff.gz
  to pool/main/p/pdns/pdns_2.9.18-3.diff.gz
pdns_2.9.18-3.dsc
  to pool/main/p/pdns/pdns_2.9.18-3.dsc
pdns_2.9.18-3_all.deb
  to pool/main/p/pdns/pdns_2.9.18-3_all.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian PowerDNS Maintainers <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 15 Sep 2005 09:21:28 +0200
Source: pdns
Binary: pdns-server pdns-backend-ldap pdns-backend-pipe pdns-backend-geo 
pdns-backend-mysql pdns-recursor pdns pdns-backend-pgsql pdns-backend-sqlite 
pdns-doc
Architecture: source i386 all
Version: 2.9.18-3
Distribution: unstable
Urgency: high
Maintainer: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
Changed-By: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
Description: 
 pdns       - meta package for the pdns nameserver
 pdns-backend-geo - geo backend for PowerDNS
 pdns-backend-ldap - LDAP 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-sqlite - sqlite backend for PowerDNS
 pdns-doc   - PowerDNS manual
 pdns-recursor - PowerDNS recursor
 pdns-server - extremely powerful and versatile nameserver
Closes: 311903 326260 327172
Changes: 
 pdns (2.9.18-3) unstable; urgency=high
 .
   * High urgency as it fixes RC bugs.
   * Add patch to support uri's in the ldapbackend.
   * Add fix for crashes in the pdns-recursor with g++ 4.0.1
   * Revert postinst scripts for geo, ldap, mysql, pgsql and pipe backend and
     don't introduce bug #321974
   * Add patch to fix CNAME wildcards. It returned the CNAME wildcard while an
     A record exists for the query. Taken from svn.
   * Fix pdns-server.config with exit status 20, bug in the parsing code of the
     configuration file /etc/powerdns/pdns.conf (Closes: #311903)
   * Fix the addconfigdir dpatch to be able to include files instead of only
     directories (Closes: #327172)
   * Remove postrm scripts as it can cause trouble when the include is set to
     nothing. (Closes: #326260)
Files: 
 7bc17374ad20bfbaab4e68740b4b50d0 1023 net extra pdns_2.9.18-3.dsc
 1698944a221ca764d11cb5d4b76795af 39308 net extra pdns_2.9.18-3.diff.gz
 6c41ed54010bb14f8482f0d4d6258613 627218 net extra pdns-server_2.9.18-3_i386.deb
 7231f11689c39376f075a65d05e544a6 199200 net extra 
pdns-recursor_2.9.18-3_i386.deb
 f38096593499c3b78276d63dbe6149cf 69082 net extra 
pdns-backend-pipe_2.9.18-3_i386.deb
 11733cbe8f5af0a794b8871e8820e728 212346 net extra 
pdns-backend-ldap_2.9.18-3_i386.deb
 e7e74d788592907dd42aa4b1e61ab7c3 107324 net extra 
pdns-backend-geo_2.9.18-3_i386.deb
 2abf5e19ce06641a6e456669faecc9a2 94660 net extra 
pdns-backend-mysql_2.9.18-3_i386.deb
 e98818e0696ce2bfed362292cc1b02c4 70214 net extra 
pdns-backend-pgsql_2.9.18-3_i386.deb
 38ae5676d3c359ae5685f7a46f818b6c 66818 net extra 
pdns-backend-sqlite_2.9.18-3_i386.deb
 1f8fd204c4c3de823e827d2aa7779e79 16900 net extra pdns_2.9.18-3_all.deb
 15fb985c6688d918ce6aa85dd0bb55c3 139722 doc extra pdns-doc_2.9.18-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKdQeCV53xXnMZYYRAhICAKCtxDS/rc0pPO1a5q8kCL7M6ekqPQCgyARs
gpoTwA0nC+kj2O1F94750dc=
=TjHE
-----END PGP SIGNATURE-----


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

Reply via email to