From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 7 06:50:20 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F39F616A41F for ; Sun, 7 Aug 2005 06:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE90443D55 for ; Sun, 7 Aug 2005 06:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j776oJCG081675 for ; Sun, 7 Aug 2005 06:50:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j776oJXb081674; Sun, 7 Aug 2005 06:50:19 GMT (envelope-from gnats) Date: Sun, 7 Aug 2005 06:50:19 GMT Message-Id: <200508070650.j776oJXb081674@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Danny Braniss Cc: Subject: Re: bin/61239: [patch] bootp enhancement, places the dhcp tags into the X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Danny Braniss List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 06:50:20 -0000 The following reply was made to PR bin/61239; it has been noted by GNATS. From: Danny Braniss To: Max Campos Cc: bug-followup@FreeBSD.org Subject: Re: bin/61239: [patch] bootp enhancement, places the dhcp tags into the Date: Sun, 07 Aug 2005 09:20:30 +0300 > I've applied this patch to my own FreeBSD 5.4 system and it works > great! It would be great to see this applied. There are several > things that are currently broken that this patch fixes: > > 1) /etc/rc.d/hostname - Enables us diskless folks to get the client's > hostname from DHCP, rather than overriding the rc.conf (this is > currently the ONLY reason for me to override rc.conf for each > diskless client). > > 2) /etc/rc.d/resolv - Enables a reasonable /etc/resolv.conf to be > written from the DHCP packet. > > Incidentally these features have been in the startup scripts since > 2002 (/etc/rc.d/diskless v1.23), but the dhcp.* kenv variables have, > AFAIK, never been set. > this is because the dhcp.* are set by the modified bootp. > Finally, this was also reported as PR kern/43474, back in 2002. >