NetBSD Problem Report #8763

Received: (qmail 13530 invoked from network); 8 Nov 1999 13:08:49 -0000
Message-Id: <199911081259.HAA00519@pzero.sandelman.ottawa.on.ca>
Date: Mon, 8 Nov 1999 07:59:59 -0500 (EST)
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Reply-To: mcr@sandelman.ottawa.on.ca
To: gnats-bugs@gnats.netbsd.org
Cc: mellon@netbsd.org
Subject: dhclient aborts if it can't find a specified interface
X-Send-Pr-Version: 3.95

>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
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 08 05:09:00 +0000 1999
>Closed-Date:    Fri Nov 12 21:09:35 +0000 1999
>Last-Modified:  Fri Nov 12 21:12:00 +0000 1999
>Originator:     Michael Richardson
>Release:        NetBSD/i386 1.4
>Organization:
Sandelman Software Works 
>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.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mellon 
State-Changed-When: Fri Nov 12 13:09:35 PST 1999 
State-Changed-Why:  
You can get the behaviour you want by specifying the interfaces you want 
to try in the configuration file.   When you specify an interface on the 
command line, dhclient assumes you really mean it (i.e., this is the 
intended behaviour). 

I don't claim that this is perfect for all users, but since you can get 
what you want, and since this is an old version of the software, I'm 
not very interested in trying to fix this right now.   We really need 
a fully-featured in-kernel dhcp client.   :') 

. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.