-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 February 2003 08:47 am, Buchan Milne wrote: > 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.
Well whatever the solution is, GNOME won't start without error until I hard code localhost.localdomain into /etc/hosts. This behavior has existed for as long as I can remember. I install mandrake, start up GNOME, get the error, say to myself, "Oh yeah, forgot about that," log out, change /etc/hosts, log in and all is hunky dory. Here is what the line looks like from my /etc/hosts file. 127.0.0.1 localhost.localdomain localhost - -- Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+W3PaGu5uuMFlL5MRAjPEAJ42bBzjrCqwL6xrSqE4U6is2E8OVwCff4lA ysnzPI0jCoihuN8+JaFeP8I= =owTV -----END PGP SIGNATURE-----