-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [EMAIL PROTECTED] wrote:
>>>Which is wrong. The default hostname for 127.0.0.1 should be >>localhost. Yes. But the default `hostname` can be localhost.localdomain (although localhost may be better) (but, your wording is weird, since we are talking about the hostname of the machine, not the hostname for 127.0.0.1). > >>So GNOME is broken then? No. It is trying to reverse lookup `hostname`, which may be localhost.localdomain, but in my case is: [EMAIL PROTECTED] bgmilne]$ hostname bgmilne.cae.co.za > > Everything that assumes that localhost is called localhost.localdomain is > broken. Read once that RedHat introduced localhost.localdomain sometime, > and it has stuck since. No idea why. > Which is exactly why I said localhost.localdomain *must not* be hardcoded into /etc/hosts. The question is, when should `hostname` get an entry in /etc/hosts pointing to the loopback? In a decent network (with dhcp and dns), it is not necessary, and could possibly break things? Without DHCP/DNS, localhost.local should work (with zeroconf). Maybe the best thing is to not set the hostname to localhost.localdomain by default, but rather to localhost (or insist the user set a hostname), and let zeroconf do its thing. Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+W3PjrJK6UGDSBKcRArjBAJoDhvIk+awcwubQdf2gSQz3pAwjpgCfUWF0 jpJxxuMvHByGWusAHXiGj3c= =1iNR -----END PGP SIGNATURE-----
