From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aKZgCUrrnWN/cwEAbAwnHQ (envelope-from ) for ; Sat, 17 Dec 2022 17:16:10 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iFJ7CUrrnWNcvwAAauVa8A (envelope-from ) for ; Sat, 17 Dec 2022 17:16:10 +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 aspmx2.migadu.com (Postfix) with ESMTPS id E3435320F6 for ; Sat, 17 Dec 2022 17:16:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Zr2-0004Ve-Bk; Sat, 17 Dec 2022 11:16:04 -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 1p6Zr0-0004VT-VK for bug-guix@gnu.org; Sat, 17 Dec 2022 11:16: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 1p6Zr0-00062W-Lh for bug-guix@gnu.org; Sat, 17 Dec 2022 11:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6Zr0-0002aj-H4 for bug-guix@gnu.org; Sat, 17 Dec 2022 11:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59784: [version 1.4.0rc1] Retrying a failed install fails Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Dec 2022 16:16: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: "pelzflorian (Florian Pelz)" Cc: Mathieu Othacehe , 59784@debbugs.gnu.org Received: via spool by 59784-submit@debbugs.gnu.org id=B59784.16712937329945 (code B ref 59784); Sat, 17 Dec 2022 16:16:02 +0000 Received: (at 59784) by debbugs.gnu.org; 17 Dec 2022 16:15:32 +0000 Received: from localhost ([127.0.0.1]:56706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6ZqW-0002aL-44 for submit@debbugs.gnu.org; Sat, 17 Dec 2022 11:15:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6ZqU-0002aE-Eb for 59784@debbugs.gnu.org; Sat, 17 Dec 2022 11:15:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6ZqO-0005rw-Uh; Sat, 17 Dec 2022 11:15:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/ag4KHUIWtUVJYfVrPMvJarHQKWXW/N4lRH8AFreuqw=; b=i2OFDwt79uglrBqHNzGE Z5kfQTlh65XnEqWNV3yOVpCM1SlUU/nwyEFxulTbofMcXyQpYaSrHRsmc6YBSpjVx9ukPzXiQa08m U79Hgc/LnmyMs7Xu0AzmWF9mkDQiPWijFBhMIJGkDgTTFGHhMSwia1o52u2MJlJhMXNFBXdZiW259 rQOPenLtYx8taouCl3XHqWXEK4KJP1Ohtwk8/5wYHDP/jlqED4vFsSwGHPw3AtMg2O0QIlo8mWIp5 JEfMizGJr2b/tj8NCaUUQvvgQdNu5FPEROxyMbed/8Uzn4Pce/jXokJkhuti7pLDGkfEWWTEoYEAO 1jIRHUSf1AoWCQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6ZqO-0001yp-FK; Sat, 17 Dec 2022 11:15:24 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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: Sat, 17 Dec 2022 17:15:21 +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: <87v8magg6e.fsf@gnu.org> 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-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-TUID: 6VgL4xmh3Txj Ludovic Court=C3=A8s skribis: > 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. The error message that=E2=80=99s haunting us: opening file `/gnu/store/=E2=80=A6.drv': No such file or directory comes from guix-daemon. It happens while the client is doing an =E2=80=98add-text-to-store=E2=80=99 RPC to add that .drv to the store. =E2=80=98LocalStore::addTextToStore=E2=80=99 supposedly creates the .drv fi= le in /gnu/store and then reads it back (=E2=80=98registerValidPath=E2=80=99 -> = =E2=80=98addValidPath=E2=80=99 -> =E2=80=98readDerivation=E2=80=99 -> =E2=80=98readFile=E2=80=99): this is= where it gets ENOENT. It would suggest that the database is consistent, but that somehow writes don=E2=80=99t go through the overlay FS. More investigation is needed, but we may have to live with this bug in 1.4.0. Ludo=E2=80=99.