From nobody@www.freebsd.org  Sat Jun 15 14:48:23 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id C7B5937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 14:48:22 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5FLmMhG091184
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 14:48:22 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5FLmMaR091183;
	Sat, 15 Jun 2002 14:48:22 -0700 (PDT)
Message-Id: <200206152148.g5FLmMaR091183@www.freebsd.org>
Date: Sat, 15 Jun 2002 14:48:22 -0700 (PDT)
From: Dirk-Willem van Gulik <dirkx@covalent.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kenv fetch of hostname requires dhcp/bootp to specify one

>Number:         39348
>Category:       docs
>Synopsis:       diskless(8): note that kenv fetch of hostname requires dhcp/bootp to specify one
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 14:50:01 PDT 2002
>Closed-Date:    Tue Feb 26 19:14:17 UTC 2008
>Last-Modified:  Tue Feb 26 19:14:17 UTC 2008
>Originator:     Dirk-Willem van Gulik
>Release:        5.0-CURRENT
>Organization:
sammawat
>Environment:
FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Sat May  4 01:04:42 CEST 2002     dirkx@foem.leiden.webweaving.org:/usr/src/sys/i386/compile/FOEM  i386
>Description:
In bootp or dhcpd config you need to specify a

	option host-name "dubbeldrank.leiden.webweaving.org";

to make sure that the kenv of the hostname in rc.diskless1 works (though in most cases hostname -s will return something so the kenv does not get called at all. Perhaps this is a bug too in the rc.diskless1 script.
>How-To-Repeat:
set up a diskless machine according to diskless(8)
>Fix:
Just documenting this in diskless(8).
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Tue Feb 26 19:14:16 UTC 2008 
State-Changed-Why:  
Dylan reports: this file only was in RELENG_5_0 for little time and 
wasn't seen on other branches. Closing the ticket. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39348 
>Unformatted:
