From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 6 18:50:12 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 4034216A41F for ; Sat, 6 Aug 2005 18:50:12 +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 0F85A43D45 for ; Sat, 6 Aug 2005 18:50:12 +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 j76IoB7h079107 for ; Sat, 6 Aug 2005 18:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j76IoBoS079106; Sat, 6 Aug 2005 18:50:11 GMT (envelope-from gnats) Date: Sat, 6 Aug 2005 18:50:11 GMT Message-Id: <200508061850.j76IoBoS079106@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Max Campos 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: Max Campos List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 18:50:12 -0000 The following reply was made to PR bin/61239; it has been noted by GNATS. From: Max Campos To: bug-followup@FreeBSD.org, danny@cs.huji.ac.il Cc: Subject: Re: bin/61239: [patch] bootp enhancement, places the dhcp tags into the Date: Sat, 6 Aug 2005 11:41:45 -0700 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. Finally, this was also reported as PR kern/43474, back in 2002.