From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iGZgBpbSnGPofwEAbAwnHQ (envelope-from ) for ; Fri, 16 Dec 2022 21:18:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cE64BpbSnGMYCQAA9RJhRA (envelope-from ) for ; Fri, 16 Dec 2022 21:18:30 +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 A9E32E39E for ; Fri, 16 Dec 2022 21:18:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6H9j-00022J-Hh; Fri, 16 Dec 2022 15:18:07 -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 1p6H9f-000227-En for bug-guix@gnu.org; Fri, 16 Dec 2022 15:18: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 1p6H9f-0006JQ-5e for bug-guix@gnu.org; Fri, 16 Dec 2022 15:18:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6H9e-0006KJ-HS for bug-guix@gnu.org; Fri, 16 Dec 2022 15:18: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:18: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: Maxime Devos Cc: Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 59784@debbugs.gnu.org Received: via spool by 59784-submit@debbugs.gnu.org id=B59784.167122187924313 (code B ref 59784); Fri, 16 Dec 2022 20:18:02 +0000 Received: (at 59784) by debbugs.gnu.org; 16 Dec 2022 20:17:59 +0000 Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6H9a-0006K5-Ux for submit@debbugs.gnu.org; Fri, 16 Dec 2022 15:17:59 -0500 Received: from relay.yourmailgateway.de ([188.68.63.98]:39299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6H9W-0006Jz-CO for 59784@debbugs.gnu.org; Fri, 16 Dec 2022 15:17:57 -0500 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NYgQ90TvJz5yM5; Fri, 16 Dec 2022 21:17:53 +0100 (CET) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4NYgQ86shQz4w6w; Fri, 16 Dec 2022 21:17:52 +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 4NYgQ80jJ8z8tXL; Fri, 16 Dec 2022 21:17:51 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id A278B7FD2D; Fri, 16 Dec 2022 21:17:43 +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> <229fab0a-644d-a69a-356e-0c5f074d978a@telenet.be> Date: Fri, 16 Dec 2022 21:17:42 +0100 In-Reply-To: <229fab0a-644d-a69a-356e-0c5f074d978a@telenet.be> (Maxime Devos's message of "Fri, 16 Dec 2022 14:55:30 +0100") Message-ID: <875yeb85nd.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: A278B7FD2D X-Spamd-Result: default: False [-5.34 / 15.00]; BAYES_HAM(-5.24)[99.38%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[4]; 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: TygBvPtm3dncn6MeONXQ3LwbotiYPNzhR9bm0nDb8EDoM6okEJkHUcC0 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=1671221910; 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: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=2A1LY7SGW586KVb31XeNQjeKQ1sR1Qwge/GUemLBqko=; b=B94mgiuo8zjW+h/hsGV3qIkBN+p/g+4kt3rLbaBx6NKqSAbRGM7Dj43iZXkkIwiZSk+z3A 7I2e41Eox+VigIawZUscxGB36SCdVu/nEBECpXFCG0oRlr1P66Ch7hDvZWY4kIrjIQSxTF ymPQ4K+O33UHjzqeuORBm5Ar4CQQjxnWBkNoTTQXn9NhY/XuNlyo4ZtvQMs6m8ob5n2svK 9wYL4YzgKctpv7AnUGyfQl/NJwfL7Md2AbBkOE1JlVYJV/yS6uuWwgDI/Tne98VcP6dPyK Y/rvuOrg7f9IIXypy8pyTEdxMHwOjj58aHanOxsgdTsXtFthQa/5OmzyshaRnA== 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=1671221910; a=rsa-sha256; cv=none; b=ndxReENnE+aFtZM7ZFyq3GP9jr9rkv3O37k6AbDs8jlbY//QDyxHZfKCb4Feaze30egHJP PwX6P0IcS0RVfe9t7krXng7qEOONVbCiMPYGulMxxm5qjk/akqXR1Q3+jaGalops5cTzFF mg4Xlcf6rnenuGxoNUk+xpDBEoVjItAxQ7T2sE4xE1cgtZrF9cw6ZT5VsYNMs0Nk2pkoaf LypJPKK0V6do/iLFgxjvBN38cspT/mPWuFtP/Qv4yHCUjWaTJGZnUuSNtzKAn1syw4jgB+ PpiGJB1+0NukJ62g97WhPlE1dVsEmg4cQDBoOZo4An9WtcISVdGmyhYeIYJmFw== X-Migadu-Spam-Score: -4.57 X-Spam-Score: -4.57 X-Migadu-Queue-Id: A9E32E39E 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: Gr79kQ5DJRWt Maxime Devos writes: > So, I'm nominally 'on hiatus', but I noticed this mail, and noticed > you copied a file (and fsync'ed it), but forgot to fsync the directory > it was copied to -- from what I've read (but I don't recall the > source), fsyncing the contents of the file isn't enough, you also need > to fsync the directory such that the new file entry is in the > directory after crashing. Ohh indeed! The Linux manpage on fsync confirms it. That invalidates my fsync testing. Which was on a codepath that, as Ludo found out, did not even run. But I will remember to fsync the directory in the future. Thank you very much Maxime! Regards, Florian