guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contents of /etc/hosts


From: Ludovic Courtès
Subject: Re: Contents of /etc/hosts
Date: Tue, 11 Oct 2016 22:25:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello!

John Darrington <address@hidden> skribis:

> On Wed, Oct 05, 2016 at 10:17:14PM +0200, Ludovic Court??s wrote:
>      Hi!
>      
>      John Darrington <address@hidden> skribis:
>      
>      > So ... my recommendations:
>      >
>      > 1. We change /etc/hosts to read
>      >
>      >
>      >  127.0.0.1 localhost.localdomain localhost 
>      >  ::1       localhost.localdomain localhost
>      >
>      >  127.0.0.2 gambrinus
>      
>      It???s not very useful to have ???localhost.localdomain???, is it?  
>
> Try doing this:  Put just a single line in your /etc/hosts: 
> 127.0.0.1 localhost
> then run "hostname -d"
>
> You will get the answer "(none)"

Right.

But “localhost.localdomain” is kinda pointless no?  I’ve checked a few
systems and I’ve never seen that.  Typical desktop GNU/Linux installs
don’t have an FQDN and “hostname -d” doesn’t return one; that’s fine.

I think the current default is OK, but we should allow people to specify
an FQDN when there’s a meaningful one.

Thoughts?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]