[Nix-dev] /etc/hosts (was: SVN commit: nix - r30362 - nixos/trunk/modules/config)

Peter Simons simons at cryp.to
Fri Nov 25 19:47:45 CET 2011


Hi Lluís,

 > Author: viric
 > Date: Wed Nov  9 21:02:01 2011
 > New Revision: 30362
 > URL: https://nixos.org/websvn/nix/?rev=30362&sc=1
 >
 > Log:
 > Adding the hostname.domain and localhost.domain to hosts, if possible.

this patch generates broken entries in /etc/hosts if networking.hostName
is a fully qualified domain name (as it is the case on several systems I
administrate). Would it be possible to append the domain name only if
hostName does not contain a '.' already?

Take care,
Peter



More information about the nix-dev mailing list