[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop ser
From: |
Ludovic Courtès |
Subject: |
bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services |
Date: |
Sun, 23 Sep 2018 21:53:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Efraim Flashner <address@hidden> skribis:
> On Fri, Sep 21, 2018 at 01:58:03PM +0200, Ludovic Courtès wrote:
[...]
>> Note that FHS distros don’t do better: either the service is
>> hot-replaceable (nginx; I don’t know of any other) or can at least
>> reload its config (sshd, etc.), and then it’s dynamically upgraded, or
>> it’ll be upgraded next time you restart it.
>>
>> That’s because fundamentally only the user can tell whether now is a
>> good time to restart, say, sshd.
>
> Not exactly the point, but Debian regularly restarts sshd for me on a
> remote box (somehow) without me losing the connection.
Good point! I think sshd opens child processes for new sessions, and
thanks to that it falls into the category of service that can be
hot-replaced.
For hot-swappable daemons, I think we should provide a specific ‘reload’
or ‘upgrade’ action as was discussed at
<https://issues.guix.info/issue/26830>. That way, to figure out the
right strategy, we would just check whether the service supports that
action.
Thanks,
Ludo’.
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, (continued)
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/02
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/02
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/19
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/19
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/20
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/20
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/20
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/20
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/21
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Efraim Flashner, 2018/09/23
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services,
Ludovic Courtès <=
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/23
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/24
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Carlo Zancanaro, 2018/09/24
- bug#22039: [PATCH] 'guix system reconfigure' must start/restart/stop services, Ludovic Courtès, 2018/09/26