From owner-freebsd-current Thu Jan 27 18:13:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 95E441589A; Thu, 27 Jan 2000 18:13:46 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id SAA05076; Thu, 27 Jan 2000 18:22:55 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200001280222.SAA05076@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: obrien@freebsd.org Cc: Mike Smith , "Jordan K. Hubbard" , current@freebsd.org Subject: Re: Problems installing FreeBSD 4.0 20000125-CURRENT In-reply-to: Your message of "Thu, 27 Jan 2000 18:09:16 PST." <20000127180916.B82262@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Jan 2000 18:22:55 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Jan 27, 2000 at 04:20:54PM -0800, Mike Smith wrote: > > > > Actually, the problem here is that our dhclient doesn't pick the hostname > > up the first time around. If it's set in an existing lease that is just > > confirmed, it works, but if you're starting without a lease, you won't > > get a hostname set (but it will be in the lease file, so if you restart > > before the lease expires you're OK). > > Are you sure? In the case I know you experience, the server changed its > behavior WRT handing out hostnames. I don't doubt that such a switch > mid-stream in using DHCP would confuse things. Quite sure. I have several machines installed with the 26th snapshot that aren't setting the hostname correctly. You were present when the hostname issuing from the server problem was fixed, and the clients were still not picking them up then. > > Personally I'd prefer to just fix the DHCP client so that it correctly > > sets the hostname as obtained from the server... > > Nope. Poll larger shops first on their DHCP usage. Correct behaviour would be not to set the hostname unless: a) it is not already set or b) it was previously set by the DHCP client You could probably ignore b) and satisfy most people. At the moment, the hostname is _never_ set by the DHCP client _unless_ it finds a lease that is still valid. This is clearly a bug. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message