[Nix-dev] /etc/hosts again

Rickard Nilsson rickard.nilsson at telia.com
Tue Dec 20 17:00:58 CET 2011


I noticed that Michael Raskin quickly commited this. Thanks!

   / Rickard

Den 2011-12-20 12:39:40 skrev Rickard Nilsson <rickard.nilsson at telia.com>:

> Hi,
>
> nixos/modules/config/networking.nix generates /etc/hosts on the following
> form:
>
> 127.0.0.1 myhost myhost.mydomain
>
> This makes both "hostname" and "hostname --fqdn" return "myhost".
>
> I think nixos/modules/config/networking.nix should be changed, to  
> generate
> /etc/hosts like this:
>
> 127.0.0.1 myhost.mydomain myhost
>
> That would make "hostname" return "myhost" and "hostname --fqdn" return
> "myhost.mydomain", which makes things that depend on a fully qualified
> domain name a bit happier.
>
> Could someone with commit rights make this change?
>
>
> Best regards,
>    Rickard Nilsson
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list