From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Contents of /etc/hosts Date: Wed, 05 Oct 2016 22:17:14 +0200 Message-ID: <87zimi5z5h.fsf@gnu.org> References: <20161005183147.GA32276@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brsd1-0001Nk-UZ for guix-devel@gnu.org; Wed, 05 Oct 2016 16:17:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brscv-0006sT-SV for guix-devel@gnu.org; Wed, 05 Oct 2016 16:17:23 -0400 In-Reply-To: <20161005183147.GA32276@jocasta.intra> (John Darrington's message of "Wed, 5 Oct 2016 20:31:47 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel@gnu.org Hi! John Darrington skribis: > So ... my recommendations: > > 1. We change /etc/hosts to read > > > 127.0.0.1 localhost.localdomain localhost=20 > ::1 localhost.localdomain localhost > > 127.0.0.2 gambrinus It=E2=80=99s not very useful to have =E2=80=9Clocalhost.localdomain=E2=80= =9D, is it? Also, shouldn=E2=80=99t we keep the same address for both names? Like: 127.0.0.1 localhost ::1 localhost 127.0.0.1 gambrinus ::1 gambrinus Or am I missing something? > 2. We put some checks in guix system to ensure that the host-name field d= oes not > exceed 63 bytes (not characters) and that it conforms to the format of R= FC1034 Sure, makes sense. > Any objections if I commit a patch to gnu/system.scm ?? Send it first. :-) Thanks, Ludo=E2=80=99.