From nobody@FreeBSD.org  Mon Dec 31 13:39:03 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 95A5DC18
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 13:39:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7DDDE8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 13:39:03 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBVDd3Yg085408
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 13:39:03 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBVDd3Mn085407;
	Mon, 31 Dec 2012 13:39:03 GMT
	(envelope-from nobody)
Message-Id: <201212311339.qBVDd3Mn085407@red.freebsd.org>
Date: Mon, 31 Dec 2012 13:39:03 GMT
From: Oeslei <oesleiribas@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installation: /etc/hosts file
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174859
>Category:       misc
>Synopsis:       Installation: /etc/hosts file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 31 13:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Oeslei
>Release:        9.0
>Organization:
CELEPAR
>Environment:
sserver00022# uname -a
FreeBSD sserver00022 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #0: Fri Dec 28 19:32:31 BRST 2012     root@sserver00022:/usr/obj/usr/src/sys/IPFWKERNEL  amd64

>Description:
When you install Freebsd 9.0 the system asks you which is the hostname and domain however the installer does not add such information in the file "/etc/hosts." It would be interesting that this information was added to the hosts file. I discovered a "segmentation fault" in the package prelude-lml due to lack of such information in the hosts file, maybe this error can occur in other packages. Adding this information during the installation process would avoid this kind of problem.

>How-To-Repeat:

>Fix:
add the hostname and domain in "/etc/hosts" file.

>Release-Note:
>Audit-Trail:
>Unformatted:
