From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 26 18:12:55 2005 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5053716A47A; Mon, 26 Sep 2005 18:12:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C52743D72; Mon, 26 Sep 2005 18:12:48 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j8QICm9S028538; Mon, 26 Sep 2005 11:12:48 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j8QICm3T028535; Mon, 26 Sep 2005 11:12:48 -0700 Date: Mon, 26 Sep 2005 11:12:48 -0700 From: Brooks Davis To: Erik Norgaard Message-ID: <20050926181248.GA27503@odin.ac.hmc.edu> References: <200506071801.j57I15tR032550@freefall.freebsd.org> <433281C3.4040708@locolomo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <433281C3.4040708@locolomo.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: Tilman Linneweh , freebsd-bugs@freebsd.org Subject: Re: bin/76305: dhclient resets configured interfaces on startup X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 18:12:55 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 22, 2005 at 12:04:51PM +0200, Erik Norgaard wrote: > Tilman Linneweh wrote: > >Synopsis: dhclient resets configured interfaces on startup > > > >State-Changed-From-To: open->feedback > >State-Changed-By: arved > >State-Changed-When: Tue Jun 7 18:00:19 GMT 2005 > >State-Changed-Why:=20 > >OpenBSD's dhclient has been imported into CURRENT. > > > >Does this solve your problems? >=20 > Sorry for not getting back on this before, it was not of ignorance but=20 > lack of time. I mentioned two problems that I thought were related: >=20 > a) Starting dhclient for one device will reset all other devices > configured by dhclient. >=20 > This problem has been solved with the new dhclient from OpenBSD. >=20 > b) Starting dhclient will reset the device, if it was previosly > configured, before getting a lease. >=20 > This is a problem for diskless operation where the root device is nfs=20 > mounted. In that case the diskless client looses the mount and hangs.=20 > This has not been solved. >=20 > This may not be a bug, but rather a documentation problem. >=20 > According to the documentation of the new dhclient, the -l option allows= =20 > to specify a different location for the lease file. I have tried=20 > specifying a memory disk device but this does not solve the problem. >=20 > The old dhclient had an option -n which should force dhclient not to=20 > reset the interface and rather get a renewed lease. The option didn't=20 > work as mentioned in the original pr. The new dhclient does not support= =20 > such behaviour. >=20 > On one hand, it makes sense that dhclient should not be used for=20 > diskless clients since these will never change ip. >=20 > But on the other hand, it is well documented (including the FreeBSD=20 > documentation) how to use dhcp to pass on client configuration=20 > parameters with the dhcp reponse (in particular mounts for /var, /tmp=20 > and swap, which must be client specific). >=20 > Work around: >=20 > Strictly one do not need dhclient for diskless operation, the system is= =20 > alive and kicking, so post boot configuration parameters could centrally= =20 > be mananged in some LDAP directory say, and passed by other means. I=20 > have not gone into this yet. >=20 > If dhcp configuration of diskless clients will no longer be supported=20 > then please pass on this note to the doc-project. dhcp configuration of diskless clients has not worked for a very long time unless said clients use an md /. This is mostly a documentation issue. -- Brooks --=20 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 --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDODofXY6L6fI4GtQRAovsAKCzFBoeDLEQEm0e440nJLwKX2ANzQCdFwyN 5+8NVawufwrHwCl4dF0nUu8= =KgDB -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--