X-Loop: help-debbugs@HIDDEN Subject: bug#70826: luks-device-mapping-with-options breaks bootloader Resent-From: Tadhg McDonald-Jensen <tadhgmister@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 07 May 2024 22:25:02 +0000 Resent-Message-ID: <handler.70826.B.171512069519309 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 70826 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70826 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171512069519309 (code B ref -1); Tue, 07 May 2024 22:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 May 2024 22:24:55 +0000 Received: from localhost ([127.0.0.1]:45104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s4TEz-00051L-Re for submit <at> debbugs.gnu.org; Tue, 07 May 2024 18:24:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tadhgmister@HIDDEN>) id 1s4Pxq-0007sZ-Cu for submit <at> debbugs.gnu.org; Tue, 07 May 2024 14:55:01 -0400 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 <tadhgmister@HIDDEN>) id 1s4PxL-0005Sc-Gp for bug-guix@HIDDEN; Tue, 07 May 2024 14:54:27 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tadhgmister@HIDDEN>) id 1s4PxK-0003d5-0D for bug-guix@HIDDEN; Tue, 07 May 2024 14:54:27 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a59d0810f59so520640566b.0 for <bug-guix@HIDDEN>; Tue, 07 May 2024 11:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715108064; x=1715712864; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6+otGiHlmRN59JlK8AWDmNyXiAw5T82zirPgrMn8miQ=; b=QcctjIby60b6sVfpTkKbGIiM3l5JCQoegwvg8DIuDpp/U7GnQnvvVnT/pYoOSa417N 91QWP/oEHclRS3wXwQ93eZGj6YL7h03LlEPxNf/kPnUZObyVXQ73MEtBUXKkhqAmxvMC GR7yMZWy8OFEqk4xS3k15WeGnSsA5JlnC7PTjXcYiW8WV/hzOXSgPYEUHTHBMhZNrgnr f3gzNkrah84rF3osm0iO36iFrxO93McvrjC5fFJIB6kM6okBfFeN6gfR2KgT2bq8S5OA 9eXVmXdOlZSN86a3PugPNMFkXj54NVG8zdpB32fzRyeiGIV1tUTq5OFDYmxFmQrM3P41 c03Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715108064; x=1715712864; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6+otGiHlmRN59JlK8AWDmNyXiAw5T82zirPgrMn8miQ=; b=q9/XHjLjBvbV9SKX5HoJl6SSeEkLcwonD0GY0W6Jo0FokUuieGUPDzSEqYeqH8KXq2 Xg3KCuKBzC4SpkOott5bsEbC60E+7WQNQ3xWvEBjPMKEIJe7gFATdtYxzbclOwJrYGfr izEq04kFcTtmsELmNh9bDuDLb3chnlmfzCkiw2AUD7xrJAwwx7guseAqy3x5yf7YEUFa kw+BXCR5MpgG7g8EidflW06hl4oZpZyx5699kttZl4n2lgtUItkqXSsVuXnpX+1npr7q ebL9fEF3DGxB6o7ZmBCSxHttxOfEF3lBYKBV6TFha34sBsFl94Rx1Ny1icrpPBJA7QpY petg== X-Gm-Message-State: AOJu0YwTCloq4T/D3bx3wfOso+3ARtPdG9JS/uFd12Q7SzNcdVubewdE MhA61ydzMhoW1N00p/k/z9q6WTEbRHQhDlEqv295Uy3E46DowBnM93j1a/TzER8kg2EGacuRAB/ OqWK2PAi1h9NkkhLQ7R4//TEiLeccFkto+SA= X-Google-Smtp-Source: AGHT+IEl2K4yT+hVmcHtVycNGbC1qT0KhoPllr0xdNEQeMD05bZCBvIqaa2vZzuJt6lZZlDcP5hhIhwzqaFF7bHl+P8= X-Received: by 2002:a17:906:2795:b0:a59:af85:17e9 with SMTP id a640c23a62f3a-a59fb9b88d6mr21869166b.55.1715108063600; Tue, 07 May 2024 11:54:23 -0700 (PDT) MIME-Version: 1.0 From: Tadhg McDonald-Jensen <tadhgmister@HIDDEN> Date: Tue, 7 May 2024 14:54:12 -0400 Message-ID: <CAP5DvDj1Xgkr5Mzy2XEzj6O86Nm=Z=hczhKQpCYKhV8Z7mg=BA@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000e1e6390617e1b64a" Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=tadhgmister@HIDDEN; helo=mail-ej1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Tue, 07 May 2024 18:24:52 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000e1e6390617e1b64a Content-Type: text/plain; charset="UTF-8" using the `luks-device-mapping-with-options` mapped device type defined in (gnu system mapped-devices) causes grub or other bootloaders to not properly attempt to mount the encrypted drive. This is caused by the commit 39a9404 which identifies luks mapped devices by checking if the type is equal to `luks-device-mapping`, so by using a different routine that is a proxy to that one it doesn't forward it to grub in the store-crypto-devices list. For anyone who finds this before it is fixed, you can boot your device by hitting 'c' in grub and typing these commands: grub> insmod luks grub> insmod luks2 grub> cryptomount (XXX) grub> set root=(crypto) grub> configfile (YYY)/grub/grub.cfg Where (XXX) is the encrypted partition and (YYY) is the boot partition with the grub config, these can be found by doing `ls` command. --000000000000e1e6390617e1b64a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">using the `luks-device-mapping-with-options` mapped device= type defined in (gnu system mapped-devices) causes grub or other bootloade= rs to not properly attempt to mount the encrypted drive. This is caused by = the commit=C2=A039a9404 which identifies luks mapped devices by checking if= the type is equal to `luks-device-mapping`, so by using a different=C2=A0r= outine that is a proxy to that one it doesn't forward it to grub in the= store-crypto-devices list.<div><br></div><div>For anyone who finds this be= fore it is fixed, you can boot your device by hitting 'c' in grub a= nd typing these commands:</div><div>grub> insmod luks</div><div>grub>= insmod luks2</div><div>grub> cryptomount (XXX)</div><div>grub> set r= oot=3D(crypto)</div><div>grub> configfile (YYY)/grub/grub.cfg</div><div>= <br></div><div>Where (XXX) is the encrypted partition and (YYY) is the boot= partition with the grub config, these can be found by doing `ls` command.<= /div></div> --000000000000e1e6390617e1b64a--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Tadhg McDonald-Jensen <tadhgmister@HIDDEN> Subject: bug#70826: Acknowledgement (luks-device-mapping-with-options breaks bootloader) Message-ID: <handler.70826.B.171512069519309.ack <at> debbugs.gnu.org> References: <CAP5DvDj1Xgkr5Mzy2XEzj6O86Nm=Z=hczhKQpCYKhV8Z7mg=BA@HIDDEN> X-Gnu-PR-Message: ack 70826 X-Gnu-PR-Package: guix Reply-To: 70826 <at> debbugs.gnu.org Date: Tue, 07 May 2024 22:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 70826 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 70826: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70826 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 25 May 2024 09:40:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 25 05:40:20 2024 Received: from localhost ([127.0.0.1]:42405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sAnsy-0005AW-G4 for submit <at> debbugs.gnu.org; Sat, 25 May 2024 05:40:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1sAnsw-0005AO-E2 for control <at> debbugs.gnu.org; Sat, 25 May 2024 05:40:18 -0400 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 <ludo@HIDDEN>) id 1sAnsj-0005ex-E5 for control <at> debbugs.gnu.org; Sat, 25 May 2024 05:40:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=KQpIvwN13JlV48ZLwabevHTpE3yZhuhV7V5S6RYz24g=; b=B/tkfJ+dqzpldt DNPUK+wRN540nM6h0q0rVQbIFajg0vv+6eXOjWJItK1jtLZqxUf39v9veob8M9gPfmDkF5gDCBUBg q2P0VTEJvO7zfNaPxRKuXwqQzzlbFz98i0jIs9JmgZHnVICR4tMbrK2YIletfsbvlIfc12tZmz4Vy 7eAuF/gG8VTNYAzywxruVxEaM7FbS3+xCrcYAQs18iE0wt3KtUGWue2ytCJUXpRoj8FLaEzFXigiJ KzW3nlA00kM9/QUA22I3Pzuj3XV9So9Z3abE7uif969rmeD7jkrukZdPHs0tXppMsHO1Ni5fyrH8V 2K6KimGGz56407HHvw5g==; Date: Sat, 25 May 2024 11:40:03 +0200 Message-Id: <87le3y2psc.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #70826 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 70826 important quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.