Re: Where is /etc/hosts in Debian?
- To: Dale Scheetz <firstname.lastname@example.org>
- Cc: email@example.com
- Subject: Re: Where is /etc/hosts in Debian?
- From: Nicolás Lichtmaier <firstname.lastname@example.org>
- Date: Sun, 23 Nov 1997 18:22:39 -0300
- Message-id: <19971123182239.43429@newton>
- In-reply-to: <Pine.LNX.3.96.971122005853.3693Aemail@example.com>; from Dale Scheetz on Sat, Nov 22, 1997 at 01:01:55AM -0500
- References: <Pine.GSO.3.96.971122090432.13480B-100000@kurango> <Pine.LNX.3.96.971122005853.3693Afirstname.lastname@example.org>
> This file is created by the installation software when you "configure the
> network". This is why dpkg doesn't know about it. If no network
> configuration is made, or you answer no to the first question, the file is
> never created. The solution is your favorite editor.
Perhaps netbase's postinst should do a
if [ ! -r /etc/hosts ]; then
# /etc/hosts: Local hosts IP <--> DNS mapping file
# [.. etc ..]
EOF > /etc/hosts
...to aid semi-novice users who expect this file to exist.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .