On 16 Feb 2003, James Sparenberg wrote:

> All,
>
>    I've run into this problem with cooker the default creation of
> /etc/hosts when installing a nic card is
>
> 127.0.0.1   localhost
>
>
> Now a number of apps  like evolution need to "resolve" the local
> hostname.  Which by default is localhost.localdomain and they can't.
> The fix is to have the default hosts file
>
> 127.0.0.1 localhost.localdomain localhost
>

What does 'hostname' give you? I guess localhost.localdomain. So, you will
notice that it can't be hardcoded as localhost.localdomain, it should be
set to `hostname`.

> If this is done then a lot of problems disappear. ( like evolution
> taking 5 minutes or more to start.)

Of course, people in a *real* network (ie with working dns) won't see this
issue ;-)

-- 
|----------------Registered Linux User #182071-----------------|
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


Reply via email to