From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: networkmanager hostname woes Date: Fri, 15 Sep 2017 22:34:44 +0200 Message-ID: <87o9qblmzf.fsf@gnu.org> References: <20170913.120529.1808480687765633530.thomas.danckaert@aeronomie.be> <878thhd797.fsf@gnu.org> <20170915.121202.532518915991342728.post@thomasdanckaert.be> 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]:54636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsxK5-0007hW-7a for help-guix@gnu.org; Fri, 15 Sep 2017 16:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsxK4-0006Gu-AG for help-guix@gnu.org; Fri, 15 Sep 2017 16:34:49 -0400 In-Reply-To: <20170915.121202.532518915991342728.post@thomasdanckaert.be> (Thomas Danckaert's message of "Fri, 15 Sep 2017 12:12:02 +0200 (CEST)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Thomas Danckaert Cc: help-guix@gnu.org Thomas Danckaert skribis: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Subject: Re: networkmanager hostname woes > Date: Thu, 14 Sep 2017 10:17:08 +0200 > >> I don=E2=80=99t understand the logic in there, but a quick fix would be = to have >> =E2=80=98network-manager-service-type=E2=80=99 create /etc/hostname. >>=20 >> What do people think? > > I agree. What is the best way to do that? > > - make network-manager-service extend etc-service? I think in this > case we'd need to pass the host-name to > network-manager-service-type somehow? It feels strange to make the > system config's host-name a configuration parameter of > network-manager-service-type just for this reason. > > - Create /etc/hosts in network-manager activation, using the result > of =E2=80=98hostname=E2=80=99 at that point? > > - ...? Hmm, good points. Maybe just create /etc/hostname unconditionally from =E2=80=98essential-services=E2=80=99? It can=E2=80=99t hurt, right? Ludo=E2=80=99.