dhclient does not wait for ipv6 dad (duplicate address detection)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Fix Released
|
Medium
|
Scott Moser | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
dhclient -6 does not wait for an interface go through duplicate address detection.
As a result the following will almost always fail:
$ dev=eth0
$ ip link set down dev $dev
$ dhclient -6 -1 -v eth0
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Can't bind to dhcp address: Cannot assign requested address
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf. Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..
$ echo $?
1
Related bugs:
* bug 1447715: dhclient -6: Can't bind to dhcp address: Cannot assign requested address
* bug 1633562: 'dhclient -6 -S' does not bring interface up
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: isc-dhcp-client 4.3.3-5ubuntu15
ProcVersionSign
Uname: Linux 4.8.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Oct 14 09:18:52 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (449 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in isc-dhcp (Ubuntu): | |
status: | Fix Committed → Confirmed |
description: | updated |
description: | updated |
description: | updated |
tags: | added: patch |
tags: | added: 4010 |
Changed in isc-dhcp (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in isc-dhcp (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in isc-dhcp (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in isc-dhcp (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in isc-dhcp (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in isc-dhcp (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in isc-dhcp (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in isc-dhcp (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in isc-dhcp (Ubuntu Precise): | |
status: | Confirmed → In Progress |
Changed in isc-dhcp (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in isc-dhcp (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in isc-dhcp (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done-xenial removed: verification-done |
tags: | added: verification-needed |
tags: | removed: 4010 |
Note, bug 1447715 fixes ifupdown for this, but it seems to me that the fix is better suited here.