From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WCNcKCTVnGOdaAEAbAwnHQ (envelope-from ) for ; Fri, 16 Dec 2022 21:29:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uM26KCTVnGNQGQEA9RJhRA (envelope-from ) for ; Fri, 16 Dec 2022 21:29:24 +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 5BCB22F02D for ; Fri, 16 Dec 2022 21:29:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6HKL-0005iR-52; Fri, 16 Dec 2022 15:29:05 -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 1p6HKJ-0005gY-2Q for bug-guix@gnu.org; Fri, 16 Dec 2022 15:29:03 -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 1p6HKI-0008Ps-Pu for bug-guix@gnu.org; Fri, 16 Dec 2022 15:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6HKI-0006PO-5c for bug-guix@gnu.org; Fri, 16 Dec 2022 15:29:02 -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: Fri, 16 Dec 2022 20:29:02 +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.167122253824628 (code B ref 59784); Fri, 16 Dec 2022 20:29:02 +0000 Received: (at 59784) by debbugs.gnu.org; 16 Dec 2022 20:28:58 +0000 Received: from localhost ([127.0.0.1]:51412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6HKE-0006PA-3P for submit@debbugs.gnu.org; Fri, 16 Dec 2022 15:28:58 -0500 Received: from relay.yourmailgateway.de ([46.38.247.119]:38559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6HK9-0006P3-VB for 59784@debbugs.gnu.org; Fri, 16 Dec 2022 15:28:56 -0500 Received: from mors-relay-8404.netcup.net (localhost [127.0.0.1]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4NYgfb6NWYz7xhl; Fri, 16 Dec 2022 21:28:39 +0100 (CET) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4NYgfb5zXjz4xBf; Fri, 16 Dec 2022 21:28:39 +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 4NYgfb1szFz8t3t; Fri, 16 Dec 2022 21:28:36 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id 870917FC11; Fri, 16 Dec 2022 21:28:30 +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> <871qp05zmf.fsf@pelzflorian.de> <87v8mcz9ai.fsf@pelzflorian.de> <87pmcji8wn.fsf@gnu.org> Date: Fri, 16 Dec 2022 21:28:29 +0100 In-Reply-To: <87pmcji8wn.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 16 Dec 2022 17:57:12 +0100") Message-ID: <871qoz855e.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: 870917FC11 X-Spamd-Result: default: False [-5.59 / 15.00]; BAYES_HAM(-5.49)[99.97%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; 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: XeMcf8AWJyLiEwbmcrgEZtZ/1wr6C4OYpiR+HO5zMf/hZVqYnJ5sXhZK 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671222564; 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=k/2/nqoeGmmeTJfHr/iOq7juNsQdc75V8y+WwXYlgf4=; b=BUhnGgrfpHe0Zu2maFlMzUU8dMjR274PmoCbalDwSgPguye3ooRlwzOv30m2EiGuKNlPMK G5g67uOv0AdtidgQwXFpcuC/ZJ7O3Wtux5eZ5QCVvxEcBdUvMy6IHUg9XACuqobyoe80Ll XWl/WbRO/L92yJP/tyhEueWXqs34cO+S4AL+FP82nWsEv4drFJqsTpsU3kdfM+bEsSZDfS +Iz8kJvSt43SVAdSPQEskCvbDPjRl/TEjeP3FEMjzPq3zZHiOdl45/vQSOXq3HMTmsRCmG u1KH98qpqcZme6TQPS1HLwMTyLLAtL27f4jDH+F9FfOacU3N1FJqvOTEGzsxMA== 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=1671222564; a=rsa-sha256; cv=none; b=c2x7mYTlm4t810LeszTpEHUp31eC81vRhkiM21I04XzBBJC44RVcCWw3kTx8pxH80+Iywe Lr1IuTvvwi7d73IJ+Px6ACZfWtkEYM+/zxETndqmOB6emXC9Y+B0gKIik3JtcmpBtM5Y8c K1kkTKT8xe3sNf0uaG9iiYkLmmyCYMZrI6Hsvi8mImrojwmK+nTQA0n/S+KI20N6nperJx fIbP0ziPrwNuaIEouyj7XWVHIjwgd9dLGfT8JtuK0eJJfDs4kht5e7Ez7hmM/imaQhpucE X5PgYAFdWH/eW4hSXWUPc3uIqQUXo6Q/XDzUvKsk06r3LP0dW9OsjtYTmwF7UA== X-Migadu-Spam-Score: -4.57 X-Spam-Score: -4.57 X-Migadu-Queue-Id: 5BCB22F02D X-Migadu-Scanner: scn0.migadu.com 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-TUID: cn8XTI53naR5 Ludovic Court=C3=A8s writes: > One finding: when hitting C-c, the dynamic-wind exit handler (the one > that restores the database and umounts the cow store) is *not* executed. Impressive findings. Now that you found the dynamic-wind=E2=80=99s out-guard does not even run: = Uhh I had misdiagnosed when I thought your 'stop-service' patch had made a difference and caused a second resume to work. Second resume was already possible on rc2. Except eventually resume stops working and on some install attempts with rc2, resume stops working right away. After seeing that you opened a bug#60116 on setsid(), I tested removing the setsid call and it had no effect, but if the dynamic-wind=E2=80=99s out-guard does not even run, that is to be expected. > I did reproduce the issue in a VM by running =E2=80=9Cifconfig ens3 down= =E2=80=9D in a > tty, or by killing the =E2=80=98guix substitute=E2=80=99 process, to caus= e failure of > =E2=80=98guix system init=E2=80=99. In that case the database is indeed = restored, but I > occasionally get errors like =E2=80=9C/gnu/store/=E2=80=A6.drv: No such f= ile or > directory=E2=80=9D. Yes, this is the error message that I get on failing resumes. Regards, Florian