docs/140434: added unset variable information to rc.conf man page for "hostname"
Jason Helfman
jhelfman at e-e.com
Mon Nov 9 22:50:03 UTC 2009
>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 at 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:
More information about the freebsd-doc
mailing list