From owner-freebsd-current@FreeBSD.ORG Wed Jun 15 06:57:46 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD54C16A41C for ; Wed, 15 Jun 2005 06:57:46 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51CC443D58 for ; Wed, 15 Jun 2005 06:57:46 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.51 (FreeBSD)) id 1DiIHo-0000Id-9a; Wed, 15 Jun 2005 00:45:28 +0400 From: Vladimir Grebenschikov To: Brooks Davis In-Reply-To: <20050614162338.GA20371@odin.ac.hmc.edu> References: <20050607034620.GA32718@odin.ac.hmc.edu> <1118728905.939.5.camel@localhost> <20050614162338.GA20371@odin.ac.hmc.edu> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 15 Jun 2005 00:45:27 +0400 Message-Id: <1118781927.1003.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: OpenBSD dhclient incoming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 06:57:47 -0000 =F7 =D7=D4, 14/06/2005 =D7 09:23 -0700, Brooks Davis =D0=C9=DB=C5=D4: > 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 > >=20 > > I have strange behavior of new dhclient + devd: > >=20 > > 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. > >=20 > > I do not think that it is desired behavior. > >=20 > > my rc.conf, related to this:=20 > >=20 > > ifconfig_fxp0=3D"dhcp" > > network_interfaces=3D"lo0" > > devd_enable=3D"YES" > >=20 > > Probably I need to comment network_interfaces line, but anyway, now it > > works strange. >=20 > 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. I am claiming that first notification is triggered by ifconfig command (interface already detected). I guess it should be triggered by real module load/interface detection, but not by user's ifconfig. > -- Brooks >=20 --=20 Vladimir B. Grebenschikov vova@fbsd.ru