[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#757711: netcfg: promptly kills dhclient, deconfigures interface

On Tue, Aug 12, 2014 at 02:45:25AM +0200, Cyril Brulebois wrote:
> That I don't know. Maybe try and compare with netcfg + dhcp client du
> jour on Linux, and see whether netcfg's behaviour is different in both
> cases, or the dhcp client's one, or the kernel's one.

In the end there's a lot of sadness around what we do, what Ubuntu does,
and what the end result is. Ubuntu uses isc-dhcp-client, so the same as
on kfreebsd-* and might as well have some additional patches to netcfg
because of this.

But at work we do use Ubuntu and found that dhclient is called with -1.
If the lease expires during installation and your switch does DHCP
snooping, you lose network during installation because the DHCP client
does not continue to renew it.

This is anecdotal experience but divergence between Linux and kfreebsd
wrt DHCP might mean that certain problems need to be solved twice or
certain failure modes only happen in one or another, with userspace
being the reason, not even the kernel difference.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature

Reply to: