Subject: misc/8763: dhclient aborts if it can't find a specified interface
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: netbsd-bugs
Date: 11/08/1999 05:09:49
>Number:         8763
>Category:       misc
>Synopsis:       dhclient aborts if an interface specified on the command line doesn't exist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov  8 05:09:00 1999
>Last-Modified:
>Originator:     Michael Richardson
>Organization:
Sandelman Software Works 
>Release:        NetBSD/i386 1.4
>Environment:
	
System: NetBSD pzero 1.4M NetBSD 1.4M (PZERO) #13: Sun Nov 7 22:26:44 EST 1999 mcr@pzero:/pzero/mcr/corp/network/kernels/compile-current/PZERO i386


>Description:

	If specifies dhclient_flags="ep0 awi0" to keep dhclient from trying to
	to configure the, for instance, "faith0" device present when IPv is enabled,
	then if "ep0" doesn't exist at the moment (PCMCIA card not inserted) then it
	aborts and does not configure "awi0"

>How-To-Repeat:
	
	remove one of two network cards you've asked dhclient to configure.
>Fix:

	suggestions: 1) have it ignore "faith0"
		2) have it continue if at least one of the interfaces specified on
		its command line exist

	Corrolory: one might insert "ep0" later, and it would be nice to have an interface 
	to a running dhclient that requests that it to configure an interface which has just 
	appeared.

>Audit-Trail:
>Unformatted: