Bug#596667: debian-installer does not renew DHCP leases
Hi,
On Mon, Sep 13, 2010 at 01:02:38PM +0200, Bastian Blank wrote:
> On Mon, Sep 13, 2010 at 12:02:06PM +0200, Erik Auerswald wrote:
> > On Mon, Sep 13, 2010 at 11:54:42AM +0200, Bastian Blank wrote:
> > > On Mon, Sep 13, 2010 at 10:21:40AM +0200, Erik Auerswald wrote:
> > > Which version? There where several different DHCP client implementations
> > > in use over time.
> > All those using the one-shot busybox udhcpc.
>
> Please be more specific. There is no one-shot busybox udhcpc, except it
> requested.
Yes, my error, the DHCP client in use is dhclient. I did not see any DHCP
client running when the installer hung trying to download packages. I
assumed udhcpc because it was available and it is a busybox environment
in the installer.
So the problem was that the DHCP client exited for some reason.
> > > > The debian installer does not renew a DHCP lease after it has expired.
> > > Possible. This means that the lease time is set to an insane low value.
> > > You could downgrade to request not-expiring bootp leases.
> > No.
>
> Sure. The installer takes usually less then 30 minutes. So the lease
> have to expire before that. So it is insanely low.
The installer can take an arbitrarily large time, because it waits for user
input and the user might be interrupted.
> > > > network with dynamic ARP inspection[1] this results in loosing the network
> > > > connection during installation.
> > > So you have a infrastructure, that breaks existing things.
> > No, d-i is broken by relying on the assumption that an IP address granted
> > for time t1 is valid for a time t2 > t1.
>
> Robustness principle. The dhcp spec explicitely requests that new
> clients have to check for the ip to be free before using it.
That's totally unrelated.
--
Dipl.-Inform. Erik Auerswald http://www.fg-networking.de/
auerswald@fg-networking.de Tel: +49-631-4149988-0 Fax: +49-631-4149988-9
Gesellschaft für Fundamental Generic Networking mbH
Geschäftsführung: Volker Bauer, Jörg Mayer
Gerichtsstand: Amtsgericht Kaiserslautern - HRB: 3630
Reply to: