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 ms0.migadu.com with LMTPS id 4PU7AjDjP2ItagEAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 06:08:16 +0200 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 ICuJOi/jP2LCYQEAauVa8A (envelope-from ) for ; Sun, 27 Mar 2022 06:08:15 +0200 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 AFCC5C73D for ; Sun, 27 Mar 2022 06:08:15 +0200 (CEST) Received: from localhost ([::1]:34756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYKCM-0007ON-8C for larch@yhetil.org; Sun, 27 Mar 2022 00:08:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYKCB-0007OE-3e for bug-guix@gnu.org; Sun, 27 Mar 2022 00:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYKC9-0000pH-Sw for bug-guix@gnu.org; Sun, 27 Mar 2022 00:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYKC9-0006ls-Oj for bug-guix@gnu.org; Sun, 27 Mar 2022 00:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40999: GRUB prevents booting a degraded RAID1 array atop LUKS Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Mar 2022 04:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40999 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40999@debbugs.gnu.org Received: via spool by 40999-submit@debbugs.gnu.org id=B40999.164835406425999 (code B ref 40999); Sun, 27 Mar 2022 04:08:01 +0000 Received: (at 40999) by debbugs.gnu.org; 27 Mar 2022 04:07:44 +0000 Received: from localhost ([127.0.0.1]:55047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYKBs-0006lD-Dl for submit@debbugs.gnu.org; Sun, 27 Mar 2022 00:07:44 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:40881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYKBr-0006kr-9q for 40999@debbugs.gnu.org; Sun, 27 Mar 2022 00:07:43 -0400 Received: by mail-qt1-f171.google.com with SMTP id i4so9735102qti.7 for <40999@debbugs.gnu.org>; Sat, 26 Mar 2022 21:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=1vipCxcIhApeZOCgv2IafZ1++5c60CSkxLLIvOmD++k=; b=dl5E1Geo2mZTtUDUxUX1VTyeNZSGk2NS+GtjpeW0PeTgFgGQ2jzm8E/KOhDwjUT+aM hbcFUQWHTFcZbkOOqynfFxFEyazZwvN22xiazwal1kRAyHLxMyhpRQ8tuIkiBggU+wJz 5kpfOAPa1slM9puv/Sos6k55Kxps7AR+/x17mdWiJSmqQFaA6CDigkkGm6gcRo6zfEvt 7SBiDw1+x5fvDUMTVietfXoSTtDCniqyZ+HVvvY7QSS0RsqHRNcR1xia4GIdvij01Ij/ tgARRvHttJ89YDOJYVrFTmbXlUWMPBG5cv6Cc0JJbKPSoUzT5OiuTp8qnsWZMZEUywJb S0ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1vipCxcIhApeZOCgv2IafZ1++5c60CSkxLLIvOmD++k=; b=rcwj4gXc1Bcuvw5YhBYCR3UdkTGV1VWu3gp89lptpfRzf/7N/EA7XPvgQEEA61sIYz Y7l8jSsz24MFBTT4EiqRg89bGkM6ON5pOIiRYM5gdKL9fEkYcnIZCbiLDDq02W0yuLvS 5yoIslz/M6A8tZYoKzyYQCj4sZOVlIyh3uLq9wfn8FnKvR69CvKG9YdOCvGL+uagTGQf vrOSCd7EkHqQXA3oMgyUkvwenA1Mtbm6zcQKYT2H6NsSdSj3hftW3ZpupLTfvCreyWsd UOERaszcxYTXpdm1G2OCGq5D5n8cz0T4K6FHCr8UkuYsDmq/rj57IJ5rZfJ4Cf0/15Bv Gbaw== X-Gm-Message-State: AOAM533ufuy0e5RzUGkbGjA8yOc6J8Uddt6qI8iZ3CfRV5VWxqj6E6tK Zg20spwKiVsKhHA4BwPaqqQ0/b/b/UQ= X-Google-Smtp-Source: ABdhPJyh61C45g+ThU1ugM+p/MvKuNyYRSjAZleIkbpE3uR1vqjl5pUDXazwRsBXgDUU5lpGwV/SFw== X-Received: by 2002:ac8:5fcb:0:b0:2e1:ebd9:3e29 with SMTP id k11-20020ac85fcb000000b002e1ebd93e29mr16303837qta.147.1648354057627; Sat, 26 Mar 2022 21:07:37 -0700 (PDT) Received: from hurd (dsl-156-168.b2b2c.ca. [66.158.156.168]) by smtp.gmail.com with ESMTPSA id p16-20020a05622a13d000b002e227782e9asm8950340qtk.14.2022.03.26.21.07.35 for <40999@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Mar 2022 21:07:36 -0700 (PDT) From: Maxim Cournoyer References: <87o8r7kbbz.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> Date: Sun, 27 Mar 2022 00:07:34 -0400 In-Reply-To: <87o8r7kbbz.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> (maxim cournoyer's message of "Fri, 01 May 2020 09:56:48 -0400") Message-ID: <878rswvy0p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648354095; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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: dkim-signature; bh=1vipCxcIhApeZOCgv2IafZ1++5c60CSkxLLIvOmD++k=; b=f8Jdh+9JpSLQmGglEp/MisA2rQQI8JUAuUXa53Ts3CGRZewJDPWVJIRdvdn209E0B8ho3G 9fqP6EhhurkI559jMPqeWXVrAN4D7PJ9nIsabC0RwqWGgZwzr7Js3a5x7MdCTTEWRbkU+/ 0ig7FWSK50lS+IkHVS66ritFpIUSYDwPwAQB8bk8bsdFBq5+Y/NrJrjjOcQIEcHEwcwruX BDoOJFzB8jIepRD/qyzaKbloFhCM8sw+0Wp0xsnJWTum4knI5IkeK+XBlmTeSRHzL5VGxE DFDRaQKymtcKihyiuo46zFdPVEVkeu+9UJo1LRXv3rZ7EADtt6l9H1jQia1r5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648354095; a=rsa-sha256; cv=none; b=Ftxz9IhsvIVL5cZGy6Nq4qBKWaJDYMb7WfZWrl1g9d1KlkLsjoGI2GjrEzGVCo69Kj95q3 M9Xprz6QBfQ1/DfeMkYcPzSkyCIFD27RzOC1+gpoyCxtugbpuVSfr6yo8Vw/IJyE1FS/qF /1doDaofqhNs/Z4edJdCZm/Sfe1sh1GkeQhj95IWF/n+0tcOi0gMX7FAxn78Btodf4rtzb 6by/zPWF/L2a7iS1eckrruJx9sLlL7aHuPZDgOw+34l1TYCG6VTabsdj9yG0blvYqniANH tySG7Lf7IVYW1BDeVyvfmVC1kgJM8+4cy3TvyShaR9QGsl9l5v10CLWavWwveg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dl5E1Geo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 5.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dl5E1Geo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: AFCC5C73D X-Spam-Score: 5.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: MszBwBeVlwIs Hi, maxim.cournoyer@gmail.com writes: > On a system where: > > 1) Each disks comprising the array is fully LUKS encrypted > 2) Each mapped disk is made part of a Btrfs RAID1 array > > When attempting to boot the system after pulling out (in BIOS or using > the cable) the drive to simulate a complete disk failure, GRUB hangs, > prompting for the LUKS password of the disappeared drive and > (unsurprisingly) failing to open it. > > This prevents booting in a degraded LUKS encrypted, Btrfs RAID1 on Guix > System. It seems this is a problem not unknown to other (non-Btrfs) software RAID as well, such as mdadm. There was recently a fix for it in Ubuntu [0]. It can probably provide cues about how to go to fix it in Guix System. [0] https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1879980