Your message dated Sat, 28 Apr 2012 11:18:47 +0000
with message-id <[email protected]>
and subject line Bug#670255: fixed in pydhcplib 0.6.2-3
has caused the Debian Bug report #670255,
regarding python-pydhcplib: unknown option ip_address_lease_time_option
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.)
--
670255: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670255
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pydhcplib
Version: 0.6.2-2
Severity: normal
Tags: upstream patch
Hi,
There is an error message when calling "CreateDhcpAckPacketFrom(packet)" :
pydhcplib.dhcp_basic_packet.setoption error : unknown option
ip_address_lease_time_option
The error is not critical as it doesn't generate an exception that would stop
script execution, but it makes annoying output.
The correct option to use is "ip_address_lease_time". I found also the same
problem in "TransformToDhcpNackPacket(self)".
I attached a patch correcting this issue.
Best regards,
Nicolas Pichon.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-pydhcplib depends on:
ii python 2.7.2-10
ii python-support 1.0.14
python-pydhcplib recommends no packages.
python-pydhcplib suggests no packages.
-- no debconf information
--- /usr/share/pyshared/pydhcplib/dhcp_packet.py.old 2010-04-29 20:16:13.000000000 +0000
+++ /usr/share/pyshared/pydhcplib/dhcp_packet.py.new 2012-04-24 10:25:09.037568685 +0000
@@ -303,7 +303,7 @@
self.SetOption("flags",src.GetOption("flags"))
self.SetOption("giaddr",src.GetOption("giaddr"))
self.SetOption("chaddr",src.GetOption("chaddr"))
- self.SetOption("ip_address_lease_time_option",src.GetOption("ip_address_lease_time_option"))
+ self.SetOption("ip_address_lease_time",src.GetOption("ip_address_lease_time"))
self.TransformToDhcpAckPacket()
def TransformToDhcpAckPacket(self): # src = request or inform packet
@@ -338,7 +338,7 @@
self.DeleteOption("sname")
self.DeleteOption("file")
self.DeleteOption("request_ip_address")
- self.DeleteOption("ip_address_lease_time_option")
+ self.DeleteOption("ip_address_lease_time")
self.DeleteOption("parameter_request_list")
self.DeleteOption("client_identifier")
self.DeleteOption("maximum_message_size")
--- End Message ---
--- Begin Message ---
Source: pydhcplib
Source-Version: 0.6.2-3
We believe that the bug you reported is fixed in the latest version of
pydhcplib, which is due to be installed in the Debian FTP archive:
pydhcplib_0.6.2-3.debian.tar.gz
to main/p/pydhcplib/pydhcplib_0.6.2-3.debian.tar.gz
pydhcplib_0.6.2-3.dsc
to main/p/pydhcplib/pydhcplib_0.6.2-3.dsc
python-pydhcplib_0.6.2-3_all.deb
to main/p/pydhcplib/python-pydhcplib_0.6.2-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.
Philipp Kern <[email protected]> (supplier of updated pydhcplib 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: SHA256
Format: 1.8
Date: Sat, 28 Apr 2012 12:57:54 +0200
Source: pydhcplib
Binary: python-pydhcplib
Architecture: source all
Version: 0.6.2-3
Distribution: unstable
Urgency: low
Maintainer: Philipp Kern <[email protected]>
Changed-By: Philipp Kern <[email protected]>
Description:
python-pydhcplib - Python DHCP client/server library
Closes: 670255
Changes:
pydhcplib (0.6.2-3) unstable; urgency=low
.
* Change source format to 3.0 (quilt).
* Add patch by Nicolas Pichon to fix SetOption called with
ip_address_lease_time. (Closes: #670255)
* Switch to dh_python2.
Checksums-Sha1:
eb5db7ca56f33cc3c862c7a5dcd58154d8f1c3bb 1063 pydhcplib_0.6.2-3.dsc
9e448ff9868ec6fb767084072969ebfa9b62dae1 2147 pydhcplib_0.6.2-3.debian.tar.gz
b3f42366fe8e9ccb3796aebf9688c1c735e8d2f0 31120 python-pydhcplib_0.6.2-3_all.deb
Checksums-Sha256:
09224492aade6fc619d8e5f3755fc254dbcec6cb446d75e86e2b91f875bf73c0 1063
pydhcplib_0.6.2-3.dsc
d228d80206a14266c525f427d59603723d46b3b700738bfe48b32f719f54e5a9 2147
pydhcplib_0.6.2-3.debian.tar.gz
788dc0710f221c5a02ed85fdaeefebc64fd02b7886689b4f5240184919e0c9f9 31120
python-pydhcplib_0.6.2-3_all.deb
Files:
0cb4849a4e45830d986b391fa843a760 1063 python optional pydhcplib_0.6.2-3.dsc
50b9177eed60ecc30038ab95c34f6a7f 2147 python optional
pydhcplib_0.6.2-3.debian.tar.gz
73f1f4a3544950e6f4eb8342273c2fa2 31120 python optional
python-pydhcplib_0.6.2-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEUEAREIAAYFAk+bz5gACgkQ7Ro5M7LPzdgNpgCYloNgrgpIzytD/MMBZQTKy03F
PgCfcFg8FzS0v0I3hCVgPN9LCUm9LjU=
=zJeY
-----END PGP SIGNATURE-----
--- End Message ---