From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iOO3Nq5dm2PO5QAAbAwnHQ (envelope-from ) for ; Thu, 15 Dec 2022 18:47:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ADTRNq5dm2NNIwAAauVa8A (envelope-from ) for ; Thu, 15 Dec 2022 18:47:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 9D62C3654A for ; Thu, 15 Dec 2022 18:47:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5sKJ-00058K-Dy; Thu, 15 Dec 2022 12:47:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5sJz-00050p-7q for bug-guix@gnu.org; Thu, 15 Dec 2022 12:47:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5sJx-0002fF-Mx for bug-guix@gnu.org; Thu, 15 Dec 2022 12:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5sJx-0005Oz-JK for bug-guix@gnu.org; Thu, 15 Dec 2022 12:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59784: [version 1.4.0rc1] Retrying a failed install fails Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Dec 2022 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59784 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Mathieu Othacehe , 59784@debbugs.gnu.org Received: via spool by 59784-submit@debbugs.gnu.org id=B59784.167112638720750 (code B ref 59784); Thu, 15 Dec 2022 17:47:01 +0000 Received: (at 59784) by debbugs.gnu.org; 15 Dec 2022 17:46:27 +0000 Received: from localhost ([127.0.0.1]:43993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5sJP-0005Oc-1t for submit@debbugs.gnu.org; Thu, 15 Dec 2022 12:46:27 -0500 Received: from relay.yourmailgateway.de ([194.59.206.189]:39269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5sJN-0005OU-NP for 59784@debbugs.gnu.org; Thu, 15 Dec 2022 12:46:26 -0500 Received: from relay02-mors.netcup.net (localhost [127.0.0.1]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4NY05r3P3qz40TC; Thu, 15 Dec 2022 18:46:24 +0100 (CET) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4NY05r30MBz81pD; Thu, 15 Dec 2022 18:46:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4NY05q2jX0z8scc; Thu, 15 Dec 2022 18:46:23 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id AFA917FEBA; Thu, 15 Dec 2022 18:46:16 +0100 (CET) From: "pelzflorian (Florian Pelz)" References: <87y1rpy9p4.fsf@pelzflorian.de> <87mt7wap6v.fsf@gnu.org> <87y1rf649x.fsf@pelzflorian.de> <87pmcny73z.fsf@gnu.org> <87k02vy6pw.fsf@gnu.org> <87ilifeyg1.fsf@pelzflorian.de> <87h6xyvqr6.fsf@gnu.org> <878rja150v.fsf@pelzflorian.de> <87h6xxpsil.fsf@pelzflorian.de> <87sfhhr1du.fsf@gnu.org> Date: Thu, 15 Dec 2022 18:46:16 +0100 In-Reply-To: <87sfhhr1du.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 15 Dec 2022 00:50:21 +0100") Message-ID: <871qp05zmf.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: AFA917FEBA X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[100.00%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: SPqZ7TiZHKFNYb0KNtdzfwXmkVT3S1J3SjA1Gh3kx0cJismA/BwR8mi8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671126446; a=rsa-sha256; cv=none; b=hNxQ/qsl+H7glrGDpDxho5bcVYW7fDiDXfSHm7SO5QyHhjPQsI59lAKKz/vJEvwHLrj4E4 4avywntDOjyQIPq4kOVu3IZ4LQLsfUWCgvEkMDxGW7hEzmzGQZ8O3/SD2sphw+KuY+NZs3 7IHvbfPS2Bi8uMsS4ZJFrrsLX8kTHUner4J2iVt7sI+UU1KDH9hGruN8gXZGyPWL3YBBZ1 l5sPwuPVav4Jn4QewyJoCsQiOfbImZDVOdUuhcIGxzo0J1Wtzald9EtFM4ALSGKDbB6eRj sXzS2kw9ZFP+SfbQZTIj7XCl1WhlGLQu4ZnNkq8VnB3rW3MOCn+34Pzo0SyrtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671126446; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=mvsXMWKlz3+qk3zajJtDakTb16+ERvftRBDZ647NiZ8=; b=YSos2gE8xhk3DFpFJ+Q0+M8z1qqM/6Xio8KkU5Foo9tHMDXJUXXHo6dcYi91VP5xLylOFA AVtIYZo8jwRh+3DpnqR0h8rz6UwYR4IZdhuwh43le7RWEGgZ43CqZcuQchCHuly8AQpIO3 faCuMsGFdSdAduFMwpjDZ9+OrvFZOMn3Le8iJELpgznEKS2fsf61OA8BAWbHzjL98/MdlX Sras+0/s4C4oQG8vHfgpwfNBsUPxq/irZTHsVSaIcCgBDNKdHm0YScGLaDU4yuJ+OT4P0j TCgwb+5FNGQ6ztWK7o5SO4bcGdhy4gl++EvWetomd4hFa7XnFKrtnVIsLCdK7w== X-Migadu-Spam-Score: -3.28 X-Spam-Score: -3.28 X-Migadu-Queue-Id: 9D62C3654A Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-TUID: 4rVUp/P4nkMm Hi Ludo=E2=80=A6 Ludovic Court=C3=A8s writes: > This time, I believe we only ever copy the database when we=E2=80=99re su= re no > guix-daemon process is accessing it. Failure. In addition to your partially helpful patch from before (with which a second resume now works most of the time), I now tried further the new change: diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm index 044f79372b..360b34d8cb 100644 --- a/gnu/installer/final.scm +++ b/gnu/installer/final.scm @@ -196,14 +196,15 @@ (define (assert-exit x) ;; the loaded cow-store locale files will prevent umounting. (install-locale locale) - ;; Save the database, so that it can be restored once the - ;; cow-store is umounted. + ;; Stop the daemon and save the database, so that it can be + ;; restored once the cow-store is umounted. + (stop-service 'guix-daemon) (copy-file database-file saved-database) + (mount-cow-store (%installer-target-dir) backing-directory)) (lambda () ;; We need to drag the guix-daemon to the container MNT ;; namespace, so that it can operate on the cow-store. - (stop-service 'guix-daemon) (start-service 'guix-daemon (list (number->string (getpid)))) (setvbuf (current-output-port) 'none) No additional effect. :( Perhaps at that time, the guix-daemon isnt doing anything anyway (though the addition makes sense in general and may help some users). There are the same two problems, needing to resume twice each time and eventually not being able to resume at all (perhaps some multi-core issue?). I sent installer-dump-89be04d5. I tried interrupting the Ethernet on the same machine but with an installed 1.4.0rc2 Guix System during `guix system reconfigure`. This has no issues=E2=80=A6 There must be corruption in the installer. Regards, Florian