From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eHTdCNDf4F5XNQAA0tVLHw (envelope-from ) for ; Wed, 10 Jun 2020 13:27:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AM2rBNDf4F6zbwAAbx9fmQ (envelope-from ) for ; Wed, 10 Jun 2020 13:27:44 +0000 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 B2E17940712 for ; Wed, 10 Jun 2020 13:27:43 +0000 (UTC) Received: from localhost ([::1]:33242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj0la-0000TG-G8 for larch@yhetil.org; Wed, 10 Jun 2020 09:27:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj0jy-0006c6-IZ for bug-guix@gnu.org; Wed, 10 Jun 2020 09:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj0jy-00081X-3c for bug-guix@gnu.org; Wed, 10 Jun 2020 09:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jj0jy-0006Bq-0g for bug-guix@gnu.org; Wed, 10 Jun 2020 09:26:02 -0400 Subject: bug#41710: Possibly found a bug while doing a "guix pull" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 10 Jun 2020 13:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41710 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Mail-Followup-To: 41710@debbugs.gnu.org, ludo@gnu.org, leon.lain.delysid@gmail.com Received: via spool by 41710-done@debbugs.gnu.org id=D41710.159179554723764 (code D ref 41710); Wed, 10 Jun 2020 13:26:01 +0000 Received: (at 41710-done) by debbugs.gnu.org; 10 Jun 2020 13:25:47 +0000 Received: from localhost ([127.0.0.1]:33574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj0jj-0006BD-GV for submit@debbugs.gnu.org; Wed, 10 Jun 2020 09:25:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj0jh-0006B1-Bd for 41710-done@debbugs.gnu.org; Wed, 10 Jun 2020 09:25:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40351) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj0jb-000804-Uh; Wed, 10 Jun 2020 09:25:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36860 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jj0jY-0003UL-A7; Wed, 10 Jun 2020 09:25:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a71guy5m.fsf@gnu.org> <87wo4ir67g.fsf@gnu.org> <20200608130257.66286fbd@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Prairial an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 10 Jun 2020 15:25:30 +0200 In-Reply-To: <20200608130257.66286fbd@scratchpost.org> (Danny Milosavljevic's message of "Mon, 8 Jun 2020 13:02:57 +0200") Message-ID: <87v9jzdpdh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?Q?L=C3=A9on?= Lain Delysid , 41710-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: JwOSuIJMZeJN Hello, Danny Milosavljevic skribis: > On Mon, 8 Jun 2020 01:15:46 +0200 > L=C3=A9on Lain Delysid wrote: > >>or >> if my system crashing twice during a pull command somehow broke it,=20 > > Probably. > >>but I >> hope this feedback helped.=20 > > It sure helped. It's good to know that that can happen. > > I remember the first time I used Guix, I picked some file system that wou= ld > keep doing that: leave empty files if the system crashed (among lots of o= ther > things). And that system crashed a lot. I had the same result as you, > and a lot of additional problems. > > Back then we already improved a lot of places that were really really > important (added fsync calls), so the remaining places should be quite > harmless--like this one. Because of Guix, you can always rebuild > /gnu/store just as it was--after a long build time maybe, but it's possib= le > (could be made a LOT more usable, though). > > (fsync degrades performance, so it makes no sense to fsync for /gnu/store) > > I think we can't really do more without imposing undue mainentance burden= on > us (for something the file system shouldn't be doing in the first place), > or we could recommend another file system or different file system options > in the manual. What would the latter be? > > Also, how it the world didn't the file system checker fsck > > (1) automatically run and > (2) fix this > > in your case? Yeah, that=E2=80=99s really weird. I never experienced it first-hand, but = it=E2=80=99s not the first time we have such a report. Ext4 & co. reportedly can leave empty files upon crashes; perhaps that=E2= =80=99s a problem with those file systems (though I=E2=80=99ve always used ext2/3/4= and never had this problem myself, but that=E2=80=99s not statically significan= t). Anyway, closing. Thank you, L=C3=A9on! Ludo=E2=80=99.