Your message dated Wed, 30 Jul 2008 17:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#492996: fixed in python-dns 2.3.2-1
has caused the Debian Bug report #492996,
regarding python-dns: Should safely ignore IPv6 "nameserver" entries in 
resolv.conf as long as queyring those is not supported
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.)


-- 
492996: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492996
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-dns
Version: 2.3.1-6
Severity: normal
Tags: patch

Running python-dns on a system that has a "nameserver" entry with an IPv6
address in resolv.conf causes an

    "Address family for hostname not supported"

error because the IPv6 address cannot be turned into an IPv4 atom.

Since python-dns currently does not support querying IPv6 nameservers
anyway, it should just ignore any IPv6 "nameserver" entries.

Patch attached.
diff -ruN python-dns-2.3.1.org/debian/changelog python-dns-2.3.1/debian/changelog
--- python-dns-2.3.1.org/debian/changelog	2008-07-30 13:55:26.000000000 +0000
+++ python-dns-2.3.1/debian/changelog	2008-07-30 14:23:43.000000000 +0000
@@ -1,3 +1,10 @@
+python-dns (2.3.1-6+ipv6safe) UNRELEASED; urgency=low
+
+  * Safely ignore "nameserver" entries in resolv.conf that list IPv6 resolvers,
+    as querying those is not currently supported.
+
+ -- Julian Mehnle <[EMAIL PROTECTED]>  Wed, 30 Jul 2008 14:16:29 +0000
+
 python-dns (2.3.1-6) unstable; urgency=high
 
   * Fix debian/patches/source-tid-random.patch so it doesn't lose socket
diff -ruN python-dns-2.3.1.org/DNS/Base.py python-dns-2.3.1/DNS/Base.py
--- python-dns-2.3.1.org/DNS/Base.py	2008-07-30 13:55:26.000000000 +0000
+++ python-dns-2.3.1/DNS/Base.py	2008-07-30 14:11:12.000000000 +0000
@@ -40,7 +40,11 @@
         if fields[0]=='sortlist':
             pass
         if fields[0]=='nameserver':
-            defaults['server'].append(fields[1])
+            if fields[1].count(':'):
+                """ Ignore IPv6 nameservers as we currently do not support querying them. """
+                pass
+            else:
+                defaults['server'].append(fields[1])
 
 def DiscoverNameServers():
     import sys

--- End Message ---
--- Begin Message ---
Source: python-dns
Source-Version: 2.3.2-1

We believe that the bug you reported is fixed in the latest version of
python-dns, which is due to be installed in the Debian FTP archive:

python-dns_2.3.2-1.diff.gz
  to pool/main/p/python-dns/python-dns_2.3.2-1.diff.gz
python-dns_2.3.2-1.dsc
  to pool/main/p/python-dns/python-dns_2.3.2-1.dsc
python-dns_2.3.2-1_all.deb
  to pool/main/p/python-dns/python-dns_2.3.2-1_all.deb
python-dns_2.3.2.orig.tar.gz
  to pool/main/p/python-dns/python-dns_2.3.2.orig.tar.gz



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.
Scott Kitterman <[EMAIL PROTECTED]> (supplier of updated python-dns 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: Wed, 30 Jul 2008 12:25:06 -0400
Source: python-dns
Binary: python-dns
Architecture: source all
Version: 2.3.2-1
Distribution: unstable
Urgency: low
Maintainer: [EMAIL PROTECTED]
Changed-By: Scott Kitterman <[EMAIL PROTECTED]>
Description: 
 python-dns - pydns - DNS client module for Python
Closes: 492996
Changes: 
 python-dns (2.3.2-1) unstable; urgency=low
 .
   * New upstream release
     - Upstream fix for source port and TID randomization
     - Drop debian/patches/source-tid-random.patch (upstream incorporated
       a fix for this)
   * Add debian/patches/ignore-ipv6-ns.patch so python-dns ignores IPv6
     name servers and works in a mixed environment (Closes: #492996)
     - Thanks to Julian Mehnle for the patch
   * Added missing final newline in debian/copyright
Checksums-Sha1: 
 09e7e42c1e459edf9a8bc4aef2adf9cb0a0beade 1355 python-dns_2.3.2-1.dsc
 9e8ddd610ecfbef552f3d316fb7c8cd7b4cf0494 23195 python-dns_2.3.2.orig.tar.gz
 e3a67682e5f0a6b204ea258f18896043bd2c23f5 6415 python-dns_2.3.2-1.diff.gz
 0d2f973f8072ea9b790ebc7932ccd8b32352a825 28448 python-dns_2.3.2-1_all.deb
Checksums-Sha256: 
 d19d853843c24e9af2accfe3d15cc6a8bbc60ae57a2e41f9b88f06a3927eacd3 1355 
python-dns_2.3.2-1.dsc
 377c85522d9dd41b6bf71f3ca7649712800ec920a69613a1b0c7caf455b85d8f 23195 
python-dns_2.3.2.orig.tar.gz
 7d47643ba2febcd6100367b72250bc9624cc303286cda971b45ea848757c045e 6415 
python-dns_2.3.2-1.diff.gz
 2d4f3c394b831e9bde7a552d335e2f5c62be621e9e35e8be3d35128e2f5c91fb 28448 
python-dns_2.3.2-1_all.deb
Files: 
 13460dee0049c62c69c59406f05f562b 1355 python optional python-dns_2.3.2-1.dsc
 376626a324c6a07a8bdbac31f4a67f64 23195 python optional 
python-dns_2.3.2.orig.tar.gz
 40fd91b3e953ee96bba71a54d4a7c082 6415 python optional 
python-dns_2.3.2-1.diff.gz
 2eea0d36a5b96d15cf06a770641cf899 28448 python optional 
python-dns_2.3.2-1_all.deb

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

iD8DBQFIkKdyHajaM93NaGoRAh8EAJoCW8LLCIo+QCPHQj6XEffS07h+cwCfRUtM
4E9JGyhzYcsmSiohtJkkLiA=
=wct4
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to