[Bug 1371833] Re: dhclient is unable to parse zero-length option values (breaks DHCPv6)
Bug Watch Updater
1371833 at bugs.launchpad.net
Sat Oct 28 01:22:17 UTC 2017
Launchpad has imported 16 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=633318.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2010-09-13T15:01:55+00:00 Jiri wrote:
Please attach the /var/lib/dhclient/dhclient6.leases
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/0
------------------------------------------------------------------------
On 2010-09-13T15:23:22+00:00 udo wrote:
Created attachment 446968
leases file
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/1
------------------------------------------------------------------------
On 2010-09-13T16:40:35+00:00 Jiri wrote:
I made the comment #0 private, because I forgot to remove your email
address.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/2
------------------------------------------------------------------------
On 2010-09-13T16:52:57+00:00 udo wrote:
My bugzilla frontpage is full so please do not bother.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/3
------------------------------------------------------------------------
On 2010-09-13T16:58:21+00:00 Jiri wrote:
The problem does the
option dhcp6.reconf-accept ;
line in the lease file.
man dhcp-option says:
option dhcp6.reconf-accept ;
The reconf-accept option is included by DHCPv6 clients that support the
Reconfigure extentions, advertising that they will respond
if the server were to ask them to Reconfigure.
There is no support for DHCPv6 Reconfigure extensions,
and this option is documented informationally only.
Do you have any idea what it is and how it got into the leases file ?
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/4
------------------------------------------------------------------------
On 2010-09-13T17:11:25+00:00 udo wrote:
I just ran a ` dhclient -6 -P ppp0` and that commandline created the
dhclient6.leases file. The file grows and gets shorter all the time. So
I do guess now that isc dhclient is NOT compatible with itself.
Yes, I had to patch dhcp to make it work with ppp as isc does not give ppp a well deserved place. see https://bugzilla.redhat.com/show_bug.cgi?id=626514.
ppp plus pd is the way to go for ipv6 I read.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/5
------------------------------------------------------------------------
On 2010-09-15T13:58:55+00:00 udo wrote:
So if dhclient inserts a line in the leases file that it (according to documentation) does not use, why doesn't dhclient parse it OK and then ignore it?
Is documentation still current for this version?
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/6
------------------------------------------------------------------------
On 2011-09-30T13:11:53+00:00 udo wrote:
# rpm -q dhclient
dhclient-4.2.2-2.fc16.i68
Sep 28 12:54:54 ep1a dhclient[32104]: /var/lib/dhclient/dhclient6.leases
line 197: semicolon expected.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/7
------------------------------------------------------------------------
On 2012-07-19T17:40:23+00:00 udo wrote:
Still happens.
/var/lib/dhclient/dhclient6.leases line
71: semicolon expected.
dhclient-4.2.4-5.fc17.i686
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/8
------------------------------------------------------------------------
On 2012-07-25T14:12:17+00:00 Tomáš wrote:
Created attachment 600310
Patch fixing the problem.
This patch solves the problem with parsing zero-length options in
dhclient6.leases file.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/9
------------------------------------------------------------------------
On 2012-07-25T14:15:25+00:00 udo wrote:
Jay! Thanks!
Hopefully Jiri can include this in the very next dhcp release...!
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/10
------------------------------------------------------------------------
On 2012-07-25T14:19:33+00:00 Jiri wrote:
Tomas can do that, actually.
You rock Tomas ! :-)
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/11
------------------------------------------------------------------------
On 2012-07-25T14:45:26+00:00 Tomáš wrote:
Thank you :-)
Udo, you can find build with this fix here
http://koji.fedoraproject.org/koji/buildinfo?buildID=344071
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/12
------------------------------------------------------------------------
On 2012-07-25T14:55:15+00:00 udo wrote:
Thanks Tomas!
dhclient still works:
Jul 25 16:52:25 epia dhclient[21795]: Bound to *:546
Jul 25 16:52:25 epia dhclient[21795]: xid: warning: no netdev with useable HWADDR found for seed's uniqueness enforcement
Jul 25 16:52:25 epia dhclient[21795]: xid: rand init seed (0xf8d06a23) built using gethostid
Jul 25 16:52:26 epia dhclient[21795]: XMT: Rebind on ppp0, interval 970ms.
Jul 25 16:52:26 epia dhclient[21795]: RCV: Reply message on ppp0 from fe80::90:1a00:1a1:88e6.
Jul 25 16:52:26 epia dhclient[21795]: message status code Success.
And no semicolon complaints in the messages log!
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/13
------------------------------------------------------------------------
On 2012-07-27T08:45:29+00:00 Fedora wrote:
dhcp-4.2.4-9.P1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2012-11079/dhcp-4.2.4-9.P1.fc17
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/14
------------------------------------------------------------------------
On 2012-08-01T18:29:01+00:00 Fedora wrote:
dhcp-4.2.4-9.P1.fc17 has been pushed to the Fedora 17 stable repository.
If problems still persist, please make note of it in this bug report.
Reply at: https://bugs.launchpad.net/ubuntu/+source/isc-
dhcp/+bug/1371833/comments/15
** Changed in: dhcp (Fedora)
Status: Unknown => Fix Released
** Changed in: dhcp (Fedora)
Importance: Unknown => Medium
** Bug watch added: Red Hat Bugzilla #626514
https://bugzilla.redhat.com/show_bug.cgi?id=626514
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1371833
Title:
dhclient is unable to parse zero-length option values (breaks DHCPv6)
Status in isc-dhcp package in Ubuntu:
Confirmed
Status in dhcp package in Fedora:
Fix Released
Bug description:
Description: Ubuntu 14.04.1 LTS
Release: 14.04
isc-dhcp-client:
Installed: 4.2.4-7ubuntu12
Candidate: 4.2.4-7ubuntu12
Version table:
*** 4.2.4-7ubuntu12 0
500 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
Any option with a zero-length value, ie the common DHCPv6 option:
option dhcp6.reconf-accept ;
with isc-dhcp-client_4.2.4 produces a parser failure:
dhclient: /var/lib/NetworkManager/dhclient6-...-wlan0.lease line 35:
semicolon expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1371833/+subscriptions
More information about the foundations-bugs
mailing list