Re: HEADSUP: OpenBSD dhclient incoming

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Tue, 14 Jun 2005 09:23:38 -0700
On Tue, Jun 14, 2005 at 10:01:45AM +0400, Vladimir Grebenschikov wrote:
> ? ??, 06/06/2005 ? 20:46 -0700, Brooks Davis ?????:
> > I'm about to start importing the OpenBSD dhclient and required
> > support in /etc.  I will unhook dhclient from the build while I work so
> > there shouldn't be much breakage for most people
> 
> I have strange behavior of new dhclient + devd:
> 
> just after boot (with ethernet plugged) I have no devd events about
> state of media and have interface down, but after first ifconfig (even
> without parameters, even executed by any user) "link state chages to UP"
> event appears and devd starts dhclient on interface.
> 
> I do not think that it is desired behavior.
> 
> my rc.conf, related to this: 
> 
> ifconfig_fxp0="dhcp"
> network_interfaces="lo0"
> devd_enable="YES"
> 
> Probably I need to comment network_interfaces line, but anyway, now it
> works strange.

I'm not sure what you are claiming here.  The dhclient should be being
started by /etc/rc.d/netif which is well before devd.  The link state
message had nothing to do with devd other than being emitted by the same
function that sends a notifaction to devd.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Tue Jun 14 2005 - 14:23:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC