Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#783387: isc-dhcp-client: dhclient -6 -P does not wait link local address to be ready

51 views
Skip to first unread message

Landry MINOZA

unread,
Apr 26, 2015, 12:50:03 PM4/26/15
to
Package: isc-dhcp-client
Version: 4.3.1-6
Severity: normal

Dear Maintainer,

This configuration used to work on wheezy:
iface eth0 inet6 static
address 2001:0bc8:32b1::1
netmask 64
pre-up dhclient -cf /etc/dhcp/dhclient6.conf -pf /run/dhclient6.eth0.pid -6 -P eth0
pre-down dhclient -x -pf /run/dhclient6.eth0.pid

with /etc/dhcp/dhclient6.conf containing:
interface "eth0" {
send dhcp6.client-id ##REDACTED##;
supersede dhcp6.name-servers ::1;
supersede dhcp6.domain-searchi "mydomain.example.com.";
}

Since upgraded to jessie, I had to add "pre-up sleep 10" before dhclient
line. If not, dhclient give up with the following error and does not allow
static IPv6 to be configured:

dhclient: no link-local IPv6 address for eth0

I also tried to add "-w" option to dhclient line without effect.

Dhclient should wait link-local address to be ready and not give up
immediately (especialy with "-w" option).
I've found similar bug on Red-Hat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1130803
They don't seams to have issue an upstream bug.


-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-client depends on:
ii debianutils 4.4+b1
ii iproute2 3.16.0-2
ii isc-dhcp-common 4.3.1-6
ii libc6 2.19-18
ii libdns-export100 1:9.9.5.dfsg-9
ii libirs-export91 1:9.9.5.dfsg-9
ii libisc-export95 1:9.9.5.dfsg-9

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
pn avahi-autoipd <none>
pn resolvconf <none>

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Dan Streetman

unread,
Feb 20, 2018, 11:50:03 AM2/20/18
to
This also requires the patch from this bug:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1718568

Chris Dos

unread,
Apr 22, 2018, 10:20:03 AM4/22/18
to
I created a patch that applies against isc-dhcp-4.3.5 that contains the two
patches mentioned in this bug.

Is there anything from preventing this from being included now?

dhclient_wait_for_ipv6_link_local_address.patch

Raphael Grewe

unread,
Oct 1, 2020, 12:40:03 PM10/1/20
to
Hi everyone! :-)

It would be really super cool if my predecessor's patch would be
included in the isc-dhcp-client package for Debian Buster.

We have tested the patch several times and considered it good.

Is that somehow possible?

Best regards,
Raphael Grewe
0 new messages