Couple of undocumented "reasons" for dhclient-script invocation

David W. Hankins David_Hankins at isc.org
Wed Sep 28 19:14:14 UTC 2005


On Thu, Sep 15, 2005 at 10:07:24PM +1000, Andrew Pollock wrote:
> I've got a bug reported against dhclient-script (or more specifically,
> the man page for it) whereby $reason can be set to RELEASE or STOP, but
> this isn't mention in the man page.

It can also be set to NBI and this isn't in the manpage either.  In
case your script isn't trapping this either; NBI is used to indicate
that dhclient was unable to find any broadcast interfaces ("No Broadcast
Interfaces" I suspect was the general idea).  Whatever the case, dhclient
believes itself to be interfaceless.

A dhclient-script encountering this might set some state aside somewhere
to make the system invoke configuration on non-broadcast interfaces (try
ppp etc).


I've corrected all three of these in the dhclient manpage for next maint
release.

-- 
David W. Hankins		"If you don't do it right the first time,
Software Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-hackers mailing list