[Top][All Lists]

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

Re: networkmanager hostname woes

From: Ludovic Courtès
Subject: Re: networkmanager hostname woes
Date: Fri, 15 Sep 2017 22:34:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Thomas Danckaert <address@hidden> skribis:

> From: address@hidden (Ludovic Courtès)
> Subject: Re: networkmanager hostname woes
> Date: Thu, 14 Sep 2017 10:17:08 +0200
>> I don’t understand the logic in there, but a quick fix would be to have
>> ‘network-manager-service-type’ create /etc/hostname.
>> 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 ‘hostname’ at that point?
>  - ...?

Hmm, good points.  Maybe just create /etc/hostname unconditionally from
‘essential-services’?  It can’t hurt, right?


reply via email to

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