From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WEN6MDroQWaWcAAAqHPOHw:P1 (envelope-from ) for ; Mon, 13 May 2024 12:15:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WEN6MDroQWaWcAAAqHPOHw (envelope-from ) for ; Mon, 13 May 2024 12:15:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Q3EbHRTC; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715595322; 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: content-transfer-encoding:content-transfer-encoding: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=7lbIgKVxkxiOuGxrNhlpmnHEXD27QsoLHHsYjHKJLO4=; b=ApITJNB9G+EQ2MBSSSZTvrDIY+rC831FCHIP1vktAk8gjnGdwhlrH2NLTVKCu2JTKrhK7e tsyy035u21sGDtx6cLkoE6HVT/k0QRoTkGpxIBZ34nFXZOjXKHp/52+CzzaUYW+jJpcGCu 4+KvBKPTiQ5kC58fgaDTg+Izyxu8wrtY2SIBkbi8P9HedzPIUU83YPL/trRwd4CtSJBIvH sA9+5nobd4IyalFHAQDlqEGN1qRup4Z/KYqHSo+ErElCRK1mcME3j60XLaSe6SuHOHj97i DT95vZHh8fZIykvhGlvwZ1T8bS6tDBFfIzG3XqjrBZu7GbP+znJs5ZIohs1D/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715595322; a=rsa-sha256; cv=none; b=fG9jMmYBrOzLDaMW488R2fnNxmF5r97hPe6FSGzjFW1oaNxw15UnbSzznOLwpqf7bXfdc+ 2tBnVAU5R87l+0I61G1BrFfgIUhL8lnFtIKAJRELvpzRbdwLQFWf1+6MNYEeP1XfZrfiDg sLNaw6ShGzp0b2r1FU3+/XLYzEDJhfty/mmPyB4sxXsK3CNhCGHZmLNylAqnIsSq2Up4A5 s3cLp4MJz9ugw4IaPHTinjk4tgdQzPIpqXgBOAvlRDVnE0yZu4vQ26nPwVEaijgdwI5lJ3 Mx/z9kDEizvsMj4Wm+LLM6tV+YdGLtCUaVgRleZShTeqWgzXPbH8NqgOlpcEDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Q3EbHRTC; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 8BB1B724A2 for ; Mon, 13 May 2024 12:15:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Si1-000100-A1; Mon, 13 May 2024 06:15:05 -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 ) id 1s6Shy-0000yN-6D for bug-guix@gnu.org; Mon, 13 May 2024 06:15:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6Shx-0006iC-T7 for bug-guix@gnu.org; Mon, 13 May 2024 06:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Shy-0008EL-8W for bug-guix@gnu.org; Mon, 13 May 2024 06:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70897: Guix system hangs on boot with LUKS root partition Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 May 2024 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70897 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Kaelyn Cc: 70897@debbugs.gnu.org Received: via spool by 70897-submit@debbugs.gnu.org id=B70897.171559528731612 (code B ref 70897); Mon, 13 May 2024 10:15:02 +0000 Received: (at 70897) by debbugs.gnu.org; 13 May 2024 10:14:47 +0000 Received: from localhost ([127.0.0.1]:60042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Shi-0008Do-NC for submit@debbugs.gnu.org; Mon, 13 May 2024 06:14:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Shg-0008Dg-MN for 70897@debbugs.gnu.org; Mon, 13 May 2024 06:14:45 -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 ) id 1s6Sha-0006eP-De; Mon, 13 May 2024 06:14:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=7lbIgKVxkxiOuGxrNhlpmnHEXD27QsoLHHsYjHKJLO4=; b=Q3EbHRTC1tQtIk6ngVKr bLBBcM7QXvH6GEN8lDnh10e8ESsvD/UfTsm/Tvzdyr8w7yiby5I9xYOajzs9dithshSe3I90VenXS Gkd6kEPv59zUTH+52qVbZvD52rl+b+n61WdnryGWTntGYxd2K5jy5ioAF+wKK79DPcbCISdAdJkRb izPtozB1FBf6bWrwgpvAQ0qCJ57tNeiF8jKDkTweEIdPayBoQycFEfYAoLOf26fpxgRFA4i13cr0u +W/6dTJZz0fTCUG6fA8bM7YqOcFxN3809jNNuXvbzfMnqBmNvEOwWS7DbJiWqU85kGsGZItkJbeGs hDj2dAx67UYEjw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Kaelyn's message of "Sun, 12 May 2024 15:26:23 +0000") References: Date: Mon, 13 May 2024 12:14:34 +0200 Message-ID: <87ikzic92t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.27 X-Spam-Score: -4.27 X-Migadu-Queue-Id: 8BB1B724A2 X-Migadu-Scanner: mx11.migadu.com X-TUID: opGDuMPTZ/SH Hi Kaelyn, Kaelyn skribis: > I recently updated my systems after finally finding https://issues.guix.g= nu.org/70051 and seeing the issue I was having with booting with a non-root= LUKS partition configured had been fixed. After updating to a commit past = these two: > > 49f82fca41 mapped-devices: luks: Specify modules needed at the top-leve= l. > 6062339156 mapped-devices: can specify modules to = import. > > I am now seeing a different error, which I am pretty sure is related > to the module import changes in 49f82fca41. The error I get is about > an unknown symbol "system*/tty" when the initramfs tries to prompt for > a password to unlock the LUKS partition containing the root > filesystem. To be clear, you have both a LUKS-encrypted root and a non-root LUKS-encrypted partition? (FWIW I tested (1) with a LUKS-encrypted root, and (2) with a cleartext root and LUKS-encrypted /home. The bug you mention affected #2.) Could you share your OS config or a relevant subset thereof? > I don't know how the module plumbing of Shepherd and the generated > initramfs work, but I suspect the fix for Shepherd opening LUKS > partition broke the import of system*/tty in the initramfs (for > example, at the early REPL that booting my latest system generation > ends up at, system*/tty is undefined initially, but after evaluating > "(use-modules (gnu build file-systems))" system*/tty resolves to a > procedure as exected--so the module is at least present in the > initramfs). I have encountered this error with two different systems, > and I believe the reproduction is simply trying to open a LUKS device > without a keyfile so that a password prompt is necessary. Hmm. Thanks for investigating! Ludo=E2=80=99.