From owner-freebsd-doc@FreeBSD.ORG Mon Nov 9 22:50:03 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A35D51065698 for ; Mon, 9 Nov 2009 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 673288FC12 for ; Mon, 9 Nov 2009 22:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9Mo3Is088538 for ; Mon, 9 Nov 2009 22:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA9Mo33w088536; Mon, 9 Nov 2009 22:50:03 GMT (envelope-from gnats) Resent-Date: Mon, 9 Nov 2009 22:50:03 GMT Resent-Message-Id: <200911092250.nA9Mo33w088536@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 584A01065693 for ; Mon, 9 Nov 2009 22:44:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 46E758FC1F for ; Mon, 9 Nov 2009 22:44:28 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9MiR0E037339 for ; Mon, 9 Nov 2009 22:44:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA9MiRW7037338; Mon, 9 Nov 2009 22:44:27 GMT (envelope-from nobody) Message-Id: <200911092244.nA9MiRW7037338@www.freebsd.org> Date: Mon, 9 Nov 2009 22:44:27 GMT From: Jason Helfman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/140434: added unset variable information to rc.conf man page for "hostname" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 22:50:03 -0000 >Number: 140434 >Category: docs >Synopsis: added unset variable information to rc.conf man page for "hostname" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 09 22:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: 7.2-RELEASE-p4 >Organization: Experts Exchange >Environment: FreeBSD eggman.experts-exchange.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: After performing an automated installation of FreeBSD 7.2, I found that the console login showed "Amnesiac." For some reason, I thought this was associated to a timezone, but found it was the hostname value if unset in /etc/rc.conf. >How-To-Repeat: Remove hostname value from /etc/rc.conf, and reboot. >Fix: Add hostname value to /etc/rc.conf, and reboot. Patch attached with submission follows: --- rc.conf.5.orig 2009-11-09 14:29:55.000000000 -0800 +++ rc.conf.5 2009-11-09 14:35:09.000000000 -0800 @@ -346,7 +346,8 @@ .Pq Vt str The fully qualified domain name (FQDN) of this host on the network. This should almost certainly be set to something meaningful, even if -there is no network connection. +there is no network connection. If this value is unset, your console +login will display a default hostname value of "Amnesiac." If .Xr dhclient 8 is used to set the hostname via DHCP, >Release-Note: >Audit-Trail: >Unformatted: