Comment 14 for bug 8980

Revision history for this message
Scott Kitterman (kitterman) wrote :

Not necessarily (about the order being important). On both Dapper and Edgy (as fresh installs) I have (for example):

/etc/hosts
127.0.0.1 localhost
70.91.79.100 mailout01.controlledmail.com mailout01

# 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

$ hostname -f
mailout01.controlledmail.com

From the problematic box mentioned in my previous comment (Dapper upgraded to Edgy) I have:

/etc/hosts

127.0.0.1 localhost
72.81.252.19 mailout00

# 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

$ hostname -f
mailout00

If I change /etc/hosts to add the fqdn to it, I get:

$ hostname -f
mailout00.controlledmail.com

The basic problem that I think this bug is about is that /etc/hosts is not populated correctly by the installer. I suspect if you take marvin out of the 127.0.0.1 entry, you will get the correct result. The current installer does not appear to add it.