[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42849] [PATCH 3/3] installer: Run the installation inside a contain
From: |
Ludovic Courtès |
Subject: |
[bug#42849] [PATCH 3/3] installer: Run the installation inside a container. |
Date: |
Wed, 02 Sep 2020 23:25:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hey,
Mathieu Othacehe <othacehe@gnu.org> skribis:
> Sounds fine! I added a "fork+exec-command/container" in (gnu build
> shepherd) module, that uses "container-excursion" to enter the
> namespaces of the process passed as argument.
There’s a catch that I just discovered as I reconfigured berlin:
--8<---------------cut here---------------start------------->8---
root@berlin ~/maintenance/hydra# herd restart guix-daemon
Service cuirass-web has been stopped.
Service cuirass has been stopped.
Service guix-publish has been stopped.
Service guix-daemon has been stopped.
herd: exception caught while executing 'start' on service 'guix-daemon':
Unbound variable: fork+exec-command/container
root@berlin ~/maintenance/hydra# herd restart guix-daemon
Service guix-daemon is not running.
herd: exception caught while executing 'start' on service 'guix-daemon':
Unbound variable: fork+exec-command/container
--8<---------------cut here---------------end--------------->8---
The workaround I found, which works nicely, is to run:
herd eval root "(reload-module (resolve-module '(gnu build shepherd)))"
and then:
herd restart guix-daemon
herd restart guix-publish
…
Not sure if there’s anything we can or should do. It’s probably not too
common to restart guix-daemon after an upgrade, though.
Ludo’.