Package: xen-tools
Severity: normal

Why is /etc/hosts only set up for machines w/o dhcp? d-i sets up a basic
hosts file for all machines. Machines with dhcp should still have the
ipv6 stuff, and it makes sense for them to have a localhost entry as
well. The following is the entry written by d-i:

127.0.0.1       localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


(There's also no particular reason why dhcp systems can't have static
hostnames defined in /etc/hosts.)


Also, I noticed that for non-dhcp systems, the code to copy over the
/etc/hosts file will even copy lines like this one:

127.0.0.1       kodama.kitenet.net localhost kodama

Which would be confusing it it reached a domU..

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to