From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CEamOFM/s16IPwAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 22:50:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EF+DNV8/s16vFgAAB5/wlQ (envelope-from ) for ; Wed, 06 May 2020 22:51:11 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BCC0094017B for ; Wed, 6 May 2020 22:51:09 +0000 (UTC) Received: from localhost ([::1]:37152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWSsg-0005eS-9N for larch@yhetil.org; Wed, 06 May 2020 18:51:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWSsY-0005dt-2R for bug-guix@gnu.org; Wed, 06 May 2020 18:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWSsX-0000v0-PX for bug-guix@gnu.org; Wed, 06 May 2020 18:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWSsX-0000XG-O3 for bug-guix@gnu.org; Wed, 06 May 2020 18:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41116: A naive proposal for a solution References: <877dxog0wf.fsf@komputilo.eu> In-Reply-To: <877dxog0wf.fsf@komputilo.eu> Resent-From: Alex Sassmannshausen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 May 2020 22:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41116 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41116@debbugs.gnu.org Received: via spool by 41116-submit@debbugs.gnu.org id=B41116.15888054111976 (code B ref 41116); Wed, 06 May 2020 22:51:01 +0000 Received: (at 41116) by debbugs.gnu.org; 6 May 2020 22:50:11 +0000 Received: from localhost ([127.0.0.1]:41548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWSri-0000Vn-Mh for submit@debbugs.gnu.org; Wed, 06 May 2020 18:50:11 -0400 Received: from www140.your-server.de ([88.198.28.10]:38320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWSgm-0000DC-6z for 41116@debbugs.gnu.org; Wed, 06 May 2020 18:38:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=komputilo.eu; s=default1904; h=Content-Type:MIME-Version:Message-ID:Date: Reply-To:Subject:To:From:Sender:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EnaBhIUvvpKD4cWLSgouivbWZYOaNu6SQG08qG+bLQY=; b=gwGcjO+xUSQaYPnXRsoFceSuhf OtF97UiHOTmr6p/oiyAREO7IErFJ/RrpbIbJ0lLJc9584D9KFRgNdMv1ted2Z9/dDaPl8xmp8uYSc YK8D4pWPgVK8tXs9t6RG/eHOpr5CjNUZTkdN+LhT8phfXfNLZ5tjYRISQu9DqgQlTCe9fGQp+6eyM cKDxGWyIpxtApwqsQmmFSTAwF3tBVAdEP3v2PLLPGx4GXxKsGt47pfP99KkNciZ90Src+hb4m32/7 DzBevR05DKTmSA3H57v8JR46ikMqOqSPmP0FcTKYSLqAcuCkVCU2K3au0H1swaeat2ucoZjRroaWw Z1S7/wpg==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www140.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jWSge-00034R-OV for 41116@debbugs.gnu.org; Thu, 07 May 2020 00:38:45 +0200 Received: from [2a02:a03f:643c:5900:f200:b379:1817:18a7] (helo=watership) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWSge-000NiI-KK for 41116@debbugs.gnu.org; Thu, 07 May 2020 00:38:44 +0200 User-agent: mu4e 1.2.0; emacs 26.3 Date: Thu, 07 May 2020 00:38:44 +0200 Message-ID: <875zd8g03v.fsf@komputilo.eu> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: alex@komputilo.eu X-Virus-Scanned: Clear (ClamAV 0.102.2/25804/Wed May 6 14:13:11 2020) X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Wed, 06 May 2020 18:50:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: alex@komputilo.eu, Alex Sassmannshausen From: Alex Sassmannshausen via Bug reports for GNU Guix X-Scanner: scn0 X-Spam-Score: -0.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=komputilo.eu header.s=default1904 header.b=gwGcjO+x; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-0.01 / 13.00]; HAS_REPLYTO(0.00)[alex@komputilo.eu]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49714780153543]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; TO_DN_NONE(0.00)[]; R_DKIM_REJECT(1.00)[komputilo.eu:s=default1904]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[komputilo.eu:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; HAS_X_AS(0.00)[]; FROM_NEQ_ENVFROM(0.00)[bug-guix@gnu.org,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: k3Djd3v5Vyax 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