GNU bug report logs - #41116
Guix deploy fails with new version of Herd

Previous Next

Package: guix;

Reported by: alex <at> komputilo.eu

Date: Wed, 6 May 2020 22:24:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 41116 <at> debbugs.gnu.org (full text, mbox):

From: Alex Sassmannshausen <alex <at> komputilo.eu>
To: 41116 <at> debbugs.gnu.org
Subject: A naive proposal for a solution
Date: Thu, 07 May 2020 00:38:44 +0200
Upon thinking further about this it seems to me the problem is caused by
guix deploy attempting to restart services as well as it can during
deployment.  When this fails deployment fails.

guix system reconfigure on the other hand does not do this (afaik).  As
a result it can complete.

Once reconfigure is completed a reboot switches to the new system
version and is then thus able to restart the services.

If all this is correct, then the long-discussed guix deploy feature of
service restart policies would resolve this issue elegantly:
When a similar herd upgrade in future looms, a switch away from "restart
running services" to "no restart services" or "reboot after deployment"
would avoid this currently hard-coded failure mode.

Food for thought perhaps, if my understanding is anywhere close to
right, that is.

Alex





This bug report was last modified 5 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.