On Mon, 28 Dec 2009 07:50:10 +1100 Russell Coker <russ...@coker.com.au> wrote:
> I've just done a debootstrap install of Lenny, and /etc/hosts doesn't > exist. Where is /etc/hosts supposed to come from? Depending on the purpose of running debootstrap, it's either copied from the external system or generated by the installation process. Something like pbuilder copies the external /etc/hosts into the chroot. > I think it should > have something like the following (copied from an ancient Debian > install). > > 127.0.0.1 localhost Various tools need 'hostname -f' to operate, so there will need to be more in /etc/hosts than that - which is where things can get complex. A hostname of some kind is going to be needed. Not sure if that would suit D-I .... -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
pgpNkoevYRSQ8.pgp
Description: PGP signature