From owner-freebsd-net Fri Oct 26 1: 0:41 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 0143537B40A for ; Fri, 26 Oct 2001 01:00:38 -0700 (PDT) Received: (qmail 7600809 invoked by uid 0); 26 Oct 2001 07:35:54 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Oct 2001 07:35:54 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f9Q7Zke65186; Fri, 26 Oct 2001 09:35:46 +0200 (CEST) (envelope-from root) Message-Id: <200110260735.f9Q7Zke65186@gits.dyndns.org> Subject: Re: PXE boot vs. DHCP In-Reply-To: <200110260309.f9Q39cQ20772@vashon.polstra.com> To: John Polstra Date: Fri, 26 Oct 2001 09:35:46 +0200 (CEST) Cc: net@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL94c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Polstra wrote: > In article <002601c15cb4$064fb440$aa3c0007@home.conforama.fr>, > Cyrille Lefevre wrote: > > "John Polstra" wrote: > > > > > > Also, I don't feel that my patch is a hack. The entire purpose of > > > dhclient's PREINIT phase is to put the network interface into an > > > enabled state so that IP packets can be sent. If the interface is > > > already up, then it is already in that state. By failing to check the > > > interface first, the current dhclient-script needlessly destroys its > > > configuration and hangs the system. That is a bug, and my patch fixes > > > it. > > > > ok, did you ask the dhcp mailing list about that ? since, as a general rule, > > dhclient should be fixed for all platforms and not only for FreeBSD... > > No, I did not ask the DHCP mailing list about it. You are welcome > to do so if you wish. However, please note that (a) pxeboot is > FreeBSD-specific, and (b) dhclient-script is OS-specific by design. > > I have to say, I'm baffled as to why you are looking so hard for ways > to obstruct this simple bugfix. because I'm not sure this fix didn't cause any problem outside PXE. imagine you have a "normal" machine on which dhclient die for any reason. what's happen when you restart dhclient using your fix ? is everything always work all right ? did you try this case ? Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message