Subject: bin/11081: dhclient loops if interface is disconnected.
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 09/25/2000 10:31:19
>Number:         11081
>Category:       bin
>Synopsis:       dhclient loops if interface is disconnected.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 25 10:37:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Lennart Augustsson
>Release:        NetBSD-current 2000-09-16
>Organization:
>Environment:
System: NetBSD sb-hobbes 1.5F NetBSD 1.5F (HOBBES) #0: Sun Sep 24 17:44:51 EDT 2000 augustss@sb-hobbes:/usr/src/sys/arch/i386/compile/HOBBES i386


>Description:
	If the interface, on which dhclient has negotiated a lease, is
	needed again (e.g., for renewing the lease), but has been disconneced
	then dhclient gets into a loop spewing out error messages (literally
	millions of them) about not being able to send on the interface.
>How-To-Repeat:
	start dhclient, disconnect the interface, wait.
		or
	start dhclient, disconnect the interface while it is trying
	to find a dhcp server.
>Fix:
	Give up after a certain number of I/O error.
	If the -w flag has been given dhclient should then go back to
	searching for interfaces.
>Release-Note:
>Audit-Trail:
>Unformatted: