Debian Bug report logs - #378991
python-dns: Problem when parsing resolv.conf

version graph

Package: python-dns; Maintainer for python-dns is Scott Kitterman <scott@kitterman.com>; Source for python-dns is src:python-dns (PTS, buildd, popcon).

Reported by: Arnaud Fontaine <arnaud@andesi.org>

Date: Thu, 20 Jul 2006 13:03:11 UTC

Severity: normal

Found in version python-dns/2.3.0-5.1

Fixed in version python-dns/2.3.0-6

Done: Scott Kitterman <scott@kitterman.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Joerg Wendland <joergland@debian.org>:
Bug#378991; Package python-dns. (full text, mbox, link).


Acknowledgement sent to Arnaud Fontaine <arnaud@andesi.org>:
New Bug report received and forwarded. Copy sent to Joerg Wendland <joergland@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Arnaud Fontaine <arnaud@andesi.org>
To: submit@bugs.debian.org
Subject: python-dns: Problem when parsing resolv.conf
Date: Thu, 20 Jul 2006 14:35:50 +0200
[Message part 1 (text/plain, inline)]
Package: python-dns
Version: 2.3.0-5.1
Severity: normal

Hello,

When /etc/resolv.conf contains something like that :
search foo
nameserver

There is the following error :

Traceback (most recent call last):
  File "./start-wotomae.py", line 26, in ?
    from wotomae.controllers import Root
  File "/src/work/soc/mainline/src/wotomae/controllers.py", line 20, in ?
    import checks
  File "/src/work/soc/mainline/src/wotomae/checks.py", line 138, in ?
    class BtsFields(formencode.Schema):
  File "/src/work/soc/mainline/src/wotomae/checks.py", line 142, in BtsFields
    not_empty=True)
  File "/usr/lib/python2.4/site-packages/formencode/validators.py", line 1146, in __init__
    DNS.Base.ParseResolvConf()
  File "/var/lib/python-support/python2.4/DNS/Base.py", line 43, in ParseResolvConf
    defaults['server'].append(fields[1])
IndexError: list index out of range

The patch i have attached fix this problem.

Regards,
Arnaud Fontaine

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
  'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.4-maggie
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-dns depends on:
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-support                0.3.8      automated rebuilding support for p

python-dns recommends no packages.

-- no debconf information

[python-dns.patch (text/x-patch, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Joerg Wendland <joergland@debian.org>:
Bug#378991; Package python-dns. (full text, mbox, link).


Acknowledgement sent to Scott Kitterman <scott@kitterman.com>:
Extra info received and forwarded to list. Copy sent to Joerg Wendland <joergland@debian.org>. (full text, mbox, link).


Message #10 received at 378991@bugs.debian.org (full text, mbox, reply):

From: Scott Kitterman <scott@kitterman.com>
To: 378991@bugs.debian.org
Subject: Updated package from Ubuntu fixes #378991
Date: Thu, 18 Jan 2007 20:46:52 -0500
https://launchpad.net/ubuntu/+source/python-dns/2.3.0-5.1ubuntu1

Also fixes this one:

https://bugs.launchpad.net/ubuntu/+source/python-dns/+bug/80360

Scott K



Reply sent to Scott Kitterman <scott@kitterman.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Arnaud Fontaine <arnaud@andesi.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 378991-close@bugs.debian.org (full text, mbox, reply):

From: Scott Kitterman <scott@kitterman.com>
To: 378991-close@bugs.debian.org
Subject: Bug#378991: fixed in python-dns 2.3.0-6
Date: Sat, 12 May 2007 05:47:03 +0000
Source: python-dns
Source-Version: 2.3.0-6

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.0-6.diff.gz
  to pool/main/p/python-dns/python-dns_2.3.0-6.diff.gz
python-dns_2.3.0-6.dsc
  to pool/main/p/python-dns/python-dns_2.3.0-6.dsc
python-dns_2.3.0-6_all.deb
  to pool/main/p/python-dns/python-dns_2.3.0-6_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 378991@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <scott@kitterman.com> (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 ftpmaster@debian.org)


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

Format: 1.7
Date: Fri, 11 May 2007 10:29:03 -0400
Source: python-dns
Binary: python-dns
Architecture: source all
Version: 2.3.0-6
Distribution: unstable
Urgency: low
Maintainer: Scott Kitterman <scott@kitterman.com>
Changed-By: Scott Kitterman <scott@kitterman.com>
Description: 
 python-dns - pydns - DNS client module for Python
Closes: 326155 373528 378991 411138
Changes: 
 python-dns (2.3.0-6) unstable; urgency=low
 .
   * New maintainer
   * Acknowledge NMU, thanks Raphael Hertzog; (closes: #373528).
     - NMU also provided Python 2.4 packages (closes: #326155).
   * debian/control:
     - Add Debian Python Modules Team as uploader
     - Update standards version to 3.7.2
     - Update python-support build-depends to version (>= 0.3) and move from
       Indep to build-depends
     - Add XS-Vcs-Svn
     - Removed XS-Python-Version and XB-Python-Version
   * debian/pyversions and debian/pycompat added
   * Add simple-patchsys.mk to debian/rules
   * Bump compat to 5
   * BTS Patches:
     - 01resolv-conf-parse patch, thanks to Arnaud Fontaine <arnaud@andesi.org>
       (closes: #378991)
   * Changes from Ubuntu (SF = Sourceforge project bug #) (closes: #411138):
     - 02utf-8 patch for files with UTF-8 content
     - 03socket-error-trap patch, Added DNSError trap for socket.error.
     - 04lazy-init SF 1563723 lazy should initilize defaults['server']
     - 05addr2bin2addr SF 863364 Mac OS X, Win2000 DHCP, addr2bin and bin2addr.
     - 06win32-fix SF 1180344 win32dns.py fails on windows server 2003
     - 07unpacker SF 954095 Bug in DNS.Lib.Unpacker.getbyte()
     - 08import-lib SF 658601 Missing "import Lib"; for TCP protocol
Files: 
 fc988c68f9eb479355114caa2f1115e4 828 python optional python-dns_2.3.0-6.dsc
 fc51f555d2bff6a79ab3cb134b12cac4 4260 python optional python-dns_2.3.0-6.diff.gz
 a579b059bcf978621e0bfc868a232789 23002 python optional python-dns_2.3.0-6_all.deb

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

iD8DBQFGRVMWCV53xXnMZYYRArsAAJ9wmtNGDl4WXsB/GT5b9usr8wev5ACfYCIJ
PwEEl+VnP1kr8Nj8v2hI9wo=
=2M6R
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 27 Jun 2007 03:43:59 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 11:19:27 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.