Date: Mon, 9 Nov 2009 22:44:27 GMT From: Jason Helfman <jhelfman@e-e.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/140434: added unset variable information to rc.conf man page for "hostname" Message-ID: <200911092244.nA9MiRW7037338@www.freebsd.org> Resent-Message-ID: <200911092250.nA9Mo33w088536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911092244.nA9MiRW7037338>