Your message dated Thu, 29 Aug 2013 22:48:39 +0000
with message-id <[email protected]>
and subject line Bug#701704: fixed in bind9 1:9.9.3.dfsg.P2-4
has caused the Debian Bug report #701704,
regarding Please add --enable-filter-aaaa to configure/build options
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 [email protected]
immediately.)


-- 
701704: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701704
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bind9
Version: 1:9.7.3.dfsg-1~squeeze9
Severity: wishlist
Tags: patch ipv6



*** body.txt
Hello,

BIND9 version 9.7.3 and above allows to specify the '--enable-filter-aaaa'
configure/build option, which in turns enables the 'filter-aaaa-on-v4' and
'filter-aaaa' named configuration options.

Those options are very handy to achieve some IPv6 migration scenario.

Please find attach a patch in this respect.

Please also note that this patch slightly modifies /etc/init.d/bind9
and /etc/default/bind9 files in order to better handle BIND9 chroot-ed
instance(s).

This in particular:
 - fixes '/etc/init.d/bind9 status' to fail because of wrong PIDFILE
   (because it keeps using its non chroot-ed path)
 - allows to specify 'rndc' options, allowing to handle multiple
   chroot-ed instances gracefully

I hope this proposal meets your approval.

Best regards,

Cédric Dufour



-- System Information:
Debian Release: 6.0.7
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9 depends on:
ii  adduser      3.112+nmu2                  add and remove users and groups
ii  bind9utils   1:9.7.3.dfsg-1~squeeze9ced1 Utilities for BIND
ii  debconf [deb 1.5.36.1                    Debian configuration management sy
ii  libbind9-60  1:9.7.3.dfsg-1~squeeze9ced1 BIND9 Shared Library used by BIND
ii  libc6        2.11.3-4                    Embedded GNU C Library: Shared lib
ii  libcap2      1:2.19-3                    support for getting/setting POSIX.
ii  libdb4.6     4.6.21-16                   Berkeley v4.6 Database Libraries [
ii  libdns69     1:9.7.3.dfsg-1~squeeze9ced1 DNS Shared Library used by BIND
ii  libgssapi-kr 1.8.3+dfsg-4squeeze6        MIT Kerberos runtime libraries - k
ii  libisc62     1:9.7.3.dfsg-1~squeeze9ced1 ISC Shared Library used by BIND
ii  libisccc60   1:9.7.3.dfsg-1~squeeze9ced1 Command Channel Library used by BI
ii  libisccfg62  1:9.7.3.dfsg-1~squeeze9ced1 Config File Handling Library used 
ii  libldap-2.4- 2.4.23-7.3                  OpenLDAP libraries
ii  liblwres60   1:9.7.3.dfsg-1~squeeze9ced1 Lightweight Resolver Library used 
ii  libssl0.9.8  0.9.8o-4squeeze14           SSL shared libraries
ii  libxml2      2.7.8.dfsg-2+squeeze6       GNOME XML library
ii  lsb-base     3.2-23.2squeeze1            Linux Standard Base 3.2 init scrip
ii  net-tools    1.60-23                     The NET-3 networking toolkit
ii  netbase      4.45                        Basic TCP/IP networking system

bind9 recommends no packages.

Versions of packages bind9 suggests:
pn  bind9-doc    <none>                      (no description available)
ii  dnsutils     1:9.7.3.dfsg-1~squeeze9ced1 Clients provided with BIND
pn  resolvconf   <none>                      (no description available)
pn  ufw          <none>                      (no description available)

-- Configuration Files:
/etc/bind/named.conf.local changed [not included]
/etc/bind/named.conf.options changed [not included]
/etc/init.d/bind9 changed [not included]

-- debconf information excluded
diff -urN bind9-9.7.3.dfsg.orig//debian/bind9.init bind9-9.7.3.dfsg/debian/bind9.init
--- bind9-9.7.3.dfsg.orig//debian/bind9.init	2013-02-26 12:13:39.000000000 +0100
+++ bind9-9.7.3.dfsg/debian/bind9.init	2013-02-26 12:49:34.000000000 +0100
@@ -18,14 +18,15 @@
 # for a chrooted server: "-u bind -t /var/lib/named"
 # Don't modify this line, change or create /etc/default/bind9.
 OPTIONS=""
+RNDCOPTIONS=""
 RESOLVCONF=no
+PIDFILE=/var/run/named/named.pid
 
 test -f /etc/default/bind9 && . /etc/default/bind9
 
 test -x /usr/sbin/rndc || exit 0
 
 . /lib/lsb/init-functions
-PIDFILE=/var/run/named/named.pid
 
 check_network() {
     if [ -x /usr/bin/uname ] && [ "X$(/usr/bin/uname -o)" = XSolaris ]; then
@@ -82,7 +83,7 @@
 	if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then
 	    /sbin/resolvconf -d lo.named
 	fi
-	pid=$(/usr/sbin/rndc stop -p | awk '/^pid:/ {print $2}') || true
+	pid=$(/usr/sbin/rndc ${RNDCOPTIONS} stop -p | awk '/^pid:/ {print $2}') || true
 	if [ -z "$pid" ]; then		# no pid found, so either not running, or error
 	    pid=$(pgrep -f ^/usr/sbin/named) || true
 	    start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/named \
@@ -104,7 +105,7 @@
 	    log_end_msg 1
 	fi
 
-	/usr/sbin/rndc reload >/dev/null && log_end_msg 0 || log_end_msg 1
+	/usr/sbin/rndc ${RNDCOPTIONS} reload >/dev/null && log_end_msg 0 || log_end_msg 1
     ;;
 
     restart)
diff -urN bind9-9.7.3.dfsg.orig//debian/bind9.postinst bind9-9.7.3.dfsg/debian/bind9.postinst
--- bind9-9.7.3.dfsg.orig//debian/bind9.postinst	2013-02-26 12:13:39.000000000 +0100
+++ bind9-9.7.3.dfsg/debian/bind9.postinst	2013-02-26 12:41:03.000000000 +0100
@@ -77,6 +77,14 @@
         else
                 echo "OPTIONS=\"\"" >> $config
         fi
+        
+        echo '' >> $config
+        echo '# PID file (update for chrooted environment)' >> $config
+        echo '#PIDFILE=/var/run/named/named.pid' >> $config
+        
+        echo '' >> $config
+        echo '# RNDC options (update for chrooted environment)' >> $config
+        echo '#RNDCOPTIONS=""' >> $config
     else
         db_get bind9/run-resolvconf
          if [ ! -z "$RET" ] && [ "$RET" = "true" ]; then
diff -urN bind9-9.7.3.dfsg.orig//debian/rules bind9-9.7.3.dfsg/debian/rules
--- bind9-9.7.3.dfsg.orig//debian/rules	2013-02-26 12:13:39.000000000 +0100
+++ bind9-9.7.3.dfsg/debian/rules	2013-02-26 12:20:15.000000000 +0100
@@ -40,6 +40,7 @@
 		--with-libtool \
 		--enable-shared \
 		--enable-static \
+		--enable-filter-aaaa \
 		--with-openssl=/usr \
 		--with-gssapi=/usr \
 		--with-gnu-ld \

--- End Message ---
--- Begin Message ---
Source: bind9
Source-Version: 1:9.9.3.dfsg.P2-4

We believe that the bug you reported is fixed in the latest version of
bind9, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <[email protected]> (supplier of updated bind9 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.8
Date: Thu, 29 Aug 2013 16:22:29 -0600
Source: bind9
Binary: bind9 bind9utils bind9-doc host bind9-host libbind-dev libbind9-90 
libdns99 libisc95 liblwres90 libisccc90 libisccfg90 dnsutils lwresd
Architecture: all i386 source
Version: 1:9.9.3.dfsg.P2-4
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <[email protected]>
Changed-By: LaMont Jones <[email protected]>
Closes: 620394 701704
Launchpad-Bugs-Fixed: 834901 1092243 1115168
Description: 
 bind9-doc  - Documentation for BIND
 bind9-host - Version of 'host' bundled with BIND 9.X
 bind9      - Internet Domain Name Server
 bind9utils - Utilities for BIND
 dnsutils   - Clients provided with BIND
 host       - Transitional package
 libbind9-90 - BIND9 Shared Library used by BIND
 libbind-dev - Static Libraries and Headers used by BIND
 libdns99   - DNS Shared Library used by BIND
 libisc95   - ISC Shared Library used by BIND
 libisccc90 - Command Channel Library used by BIND
 libisccfg90 - Config File Handling Library used by BIND
 liblwres90 - Lightweight Resolver Library used by BIND
 lwresd     - Lightweight Resolver Daemon
Changes: 
 bind9 (1:9.9.3.dfsg.P2-4) unstable; urgency=low
 .
   [Peter Marschall]
 .
   * If rndc.conf exists, skip creation of rndc.key.  Closes: #620394
 .
   [Al Tarakanoff]
 .
   * properly quote check of pid in bind9 init.d.  LP: #1092243
 .
   [LaMont Jones]
 .
   * include distro and package version in version string
   * apparmor: allow GeoIP data file access.  LP: #834901
   * enable filter-aaaa.  Closes: #701704  LP: #1115168
Checksums-Sha1: 
 b7d7e066e235f090d8bcfa4982e06ef5f7f5ac58 1979 bind9_9.9.3.dfsg.P2-4.dsc
 19b3efd415e7224fcb8d91f489122691bfaf8525 246546 bind9_9.9.3.dfsg.P2-4.diff.gz
 57e972dae7b4b3db0b89b69340721dd3add51800 328388 
bind9-doc_9.9.3.dfsg.P2-4_all.deb
 34ed6bf4f7f8f392c757c3af41ba7541add816f8 21336 host_9.9.3.dfsg.P2-4_all.deb
 e149ae78564b55d8bf80b7a6bdf26e178a91714f 291750 bind9_9.9.3.dfsg.P2-4_i386.deb
 d9585ff8b40bfc4a17ae756c4122a912fb655558 146832 
bind9utils_9.9.3.dfsg.P2-4_i386.deb
 15892e6011484664cfc6bf7805abd37f2f8f1307 63414 
bind9-host_9.9.3.dfsg.P2-4_i386.deb
 b429177505d0329b2d382250da2d9de3dabad6a5 1194766 
libbind-dev_9.9.3.dfsg.P2-4_i386.deb
 5f396ffa546880a7bf6b8a5d98a69f5262a3482e 40318 
libbind9-90_9.9.3.dfsg.P2-4_i386.deb
 5399ff7443bc8f62eee3b9a38d405dbd9549ff1a 644042 
libdns99_9.9.3.dfsg.P2-4_i386.deb
 d4cf38188c3beeef01b4eac6c339d6d3751bc209 159246 
libisc95_9.9.3.dfsg.P2-4_i386.deb
 81569b0be66710d2444bd11ddc00f668637a2b33 49416 
liblwres90_9.9.3.dfsg.P2-4_i386.deb
 d664994871a22dffb45c1c52d59e7554a5e4e5fc 34092 
libisccc90_9.9.3.dfsg.P2-4_i386.deb
 eba9e34bd61369e10e92496f7dd2b4d9271f16c8 52154 
libisccfg90_9.9.3.dfsg.P2-4_i386.deb
 1fe82606cb89f94240e5ee634d890a11bf0ff31b 110956 
dnsutils_9.9.3.dfsg.P2-4_i386.deb
 11e9eff1dec3d4600b2925a754c9ffba11bc699b 217282 lwresd_9.9.3.dfsg.P2-4_i386.deb
Checksums-Sha256: 
 02e30dbc0ec69ace424fd0704e6ded90ed09abaad32fe63bfb423be98cbbcde9 1979 
bind9_9.9.3.dfsg.P2-4.dsc
 4ffae73cefec4eb841e5629cd44061a5f56bbb61b5b705a7158ee86947d7c7b1 246546 
bind9_9.9.3.dfsg.P2-4.diff.gz
 e14c46db152b3f3f65b587994de39a733d839f8a0088595ad1a3bb625433d3c0 328388 
bind9-doc_9.9.3.dfsg.P2-4_all.deb
 fc867eec970f7b93e4185e74b7ab416f44e118ea64cee965db311988001ae09f 21336 
host_9.9.3.dfsg.P2-4_all.deb
 16b8759f552d502ffa1132756644bf85ec5ee1e51a2f622ff0d44d17c30f30d8 291750 
bind9_9.9.3.dfsg.P2-4_i386.deb
 6f017addfb1136df1c6ecc301689857ede9c682852de1bf5ba4ff72788328555 146832 
bind9utils_9.9.3.dfsg.P2-4_i386.deb
 aa0ca55c76005bc52599c4c8887f31a436b8eb4690c85d3bf2c076cf1126a444 63414 
bind9-host_9.9.3.dfsg.P2-4_i386.deb
 f60ce99741a8361caff96123f85fbbe7b989b2c1947dfaa52d414f380206e954 1194766 
libbind-dev_9.9.3.dfsg.P2-4_i386.deb
 036dbe76f667d7130bfe85fe6f630ed21f99707b8fc2ec8463c0bc859f33a6cc 40318 
libbind9-90_9.9.3.dfsg.P2-4_i386.deb
 135302e96a813e7cd695dce8372393a3796235303b1893569948a6e0592ac9f5 644042 
libdns99_9.9.3.dfsg.P2-4_i386.deb
 f18cbb922a3b8d53393bda95432987a60dcd5b57a04227c9152c7d2e51cc977c 159246 
libisc95_9.9.3.dfsg.P2-4_i386.deb
 1c025a3ace5ba42871fae94cf1bc2c9ca26b5e2a1112037270ea094dfb88d659 49416 
liblwres90_9.9.3.dfsg.P2-4_i386.deb
 025bdff5a6b2d4dbbbffa9bdd3f733b2de64ed0161bfd65e49ad5e5a4d47f11a 34092 
libisccc90_9.9.3.dfsg.P2-4_i386.deb
 81092b57171cae26a86b08c010890e6fb7150be0dc83eb265a01d5cb41156987 52154 
libisccfg90_9.9.3.dfsg.P2-4_i386.deb
 2251bd87f83252097f9cd9cf17e749e5999bcc46d32acc54fa7226814532c877 110956 
dnsutils_9.9.3.dfsg.P2-4_i386.deb
 cea75608d0b955f298fe5401bfcb8ead0cdf91d012c25d1af3760a76b7bbce77 217282 
lwresd_9.9.3.dfsg.P2-4_i386.deb
Files: 
 73ff1d0ae47ec3c203ef010034e2cab5 1979 net optional bind9_9.9.3.dfsg.P2-4.dsc
 4d9d94c324077d322d2c8a293475ae33 246546 net optional 
bind9_9.9.3.dfsg.P2-4.diff.gz
 aaeeff272cbd37a6235786971a3a8a46 328388 doc optional 
bind9-doc_9.9.3.dfsg.P2-4_all.deb
 9bfbdd86a3151eca4b38eaab8f704225 21336 net standard 
host_9.9.3.dfsg.P2-4_all.deb
 3362878a1aa4915f746d616b014957df 291750 net optional 
bind9_9.9.3.dfsg.P2-4_i386.deb
 8f29d792cec66d962a01919d3464e329 146832 net optional 
bind9utils_9.9.3.dfsg.P2-4_i386.deb
 72ce7ee1bfa1f443e031d4beb484a00e 63414 net standard 
bind9-host_9.9.3.dfsg.P2-4_i386.deb
 a59222c51336ecdeeac030ff894cabea 1194766 libdevel optional 
libbind-dev_9.9.3.dfsg.P2-4_i386.deb
 befc786b6958cd9f4877c2884d9d9364 40318 libs standard 
libbind9-90_9.9.3.dfsg.P2-4_i386.deb
 96e70242c8288b9f6cbff3528694d5da 644042 libs standard 
libdns99_9.9.3.dfsg.P2-4_i386.deb
 21ab01701b319620a5fd660066568bcb 159246 libs standard 
libisc95_9.9.3.dfsg.P2-4_i386.deb
 9ea79910a7a5d85469c2e06d9958be54 49416 libs standard 
liblwres90_9.9.3.dfsg.P2-4_i386.deb
 2d13c20852571dfbd80643aa8cf79732 34092 libs optional 
libisccc90_9.9.3.dfsg.P2-4_i386.deb
 3fe9acc9dcfe69e15946a3cb5e4abfcf 52154 libs optional 
libisccfg90_9.9.3.dfsg.P2-4_i386.deb
 fd4a4f22980ee47384ce51e88b4c8a3f 110956 net standard 
dnsutils_9.9.3.dfsg.P2-4_i386.deb
 447f67cb301d43c2e6b8857443f74263 217282 net optional 
lwresd_9.9.3.dfsg.P2-4_i386.deb

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

iD8DBQFSH8vdzN/kmwoKyScRAtocAKCB+k0MgpwvpCNQS7iahqMn7CioEACffvc0
z3M6dJ7U0zeahT9Eg3oWkM4=
=9OkT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to