From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6FnMKO5TBWYDHwEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 12:26:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6FnMKO5TBWYDHwEAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 12:26:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bluewin.ch header.s=fxzs-2048-20230414 header.b=fVU2B7rp; dmarc=fail reason="SPF not aligned (strict)" header.from=bluewin.ch (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711625198; a=rsa-sha256; cv=none; b=AO64vNu08vYPPKeqyKnY//4Q9WMlFfjPDNFKBU3kIA4R0Srq45jlZoSvopHfcMniX2r3PJ Uj0XlAxP6sFXyxL/XPZjQiYqC4az6RpDG7hgbXelhHVSp8QiDCsAJnn0s7aTUN6h44agR6 BAZdB7Ie0GKnIZGbMp0p0wjDxbv8BaW2Kfopwc/bYPcYCGBpGHlommfvmSlLdmRH93DGnR zYyciF5ZqkzW54EC4IY/4BjZfR16MCqDFfdMaoAwXpmZe4map6oHSYIf06hbRkMWu5l8iP gIcGPMd35UxmoBhd0QMA+Yg4hel0RryCxvIKYUikj884aUV8WN7dfCWeG5ZZAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bluewin.ch header.s=fxzs-2048-20230414 header.b=fVU2B7rp; dmarc=fail reason="SPF not aligned (strict)" header.from=bluewin.ch (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711625198; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4n2sH7BbICf1tKqGm83iO0/FIeMHO40w8h7nvNQS6dQ=; b=TUvDR63gqXbo5RErhBWY5o5rXiR+pqOtnPvL60tPfINexemGXdWJ2BJU6ky9l0VcrKqn38 SMI55gXzFie5a5SPjRFsGS4RH8KFEotDlm7DrvRDnpnm5v4oPCdt6ECRWk3VRxRzE+zNUn /0Mi6e66jfK7APpAahQcm6JFOLeZ7y9DKqqEmvLDgmUSgMV/bROOMTLBv/VI8P1KcMDxcN rM73+HQhbofDW2OVgaFRsHjCD5VRmEkc6M2tJylsaBwtAt5akuH7pLdomR/X+rODm/OrS/ VTfuTr+H0vnjtMCc2lltKzz1BxMxpDkvHr8SOdb2hnaPHwpgNi6KcXjIxlraWw== 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 6CDD361044 for ; Thu, 28 Mar 2024 12:26:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpntd-000359-7u; Thu, 28 Mar 2024 07:26:13 -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 1rpntY-00030h-HZ for bug-guix@gnu.org; Thu, 28 Mar 2024 07:26:11 -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 1rpntS-0006jr-8J for bug-guix@gnu.org; Thu, 28 Mar 2024 07:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpntS-00046g-AJ for bug-guix@gnu.org; Thu, 28 Mar 2024 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70051: guix system hangs on boot with LUKS /home partition Resent-From: Fulbert Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Mar 2024 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70051 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70051@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171162511915587 (code B ref -1); Thu, 28 Mar 2024 11:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 11:25:19 +0000 Received: from localhost ([127.0.0.1]:39205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpnsk-00043L-HR for submit@debbugs.gnu.org; Thu, 28 Mar 2024 07:25:18 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpnsi-00042J-QF for submit@debbugs.gnu.org; Thu, 28 Mar 2024 07:25:17 -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 1rpnsY-0002KP-Ai for bug-guix@gnu.org; Thu, 28 Mar 2024 07:25:07 -0400 Received: from vimdzmsp-sfwd03.bluewin.ch ([195.186.120.132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpnsV-0006IP-MJ for bug-guix@gnu.org; Thu, 28 Mar 2024 07:25:06 -0400 Received: from bluewin.ch ([213.55.245.153]) by vimdzmsp-sfwd03.bluewin.ch Swisscom AG with ESMTPA id pnsPrkB0nCltGpnsQrL4D3; Thu, 28 Mar 2024 12:24:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluewin.ch; s=fxzs-2048-20230414; t=1711625098; bh=4n2sH7BbICf1tKqGm83iO0/FIeMHO40w8h7nvNQS6dQ=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=fVU2B7rpTNtXFFw9vaY5I0lFscEOkgpMutGMT6xlaIXfwyFSpAE6NuRDjlGQQikwx 3mAobW0r2aIbbIrFvAU6RzB4vVcmHi+Ic9vgAS8lADr29WrjsDLrzizWNmUGEnYh7W D2/blbjUUsBMOKHskxEkFpoDjsLtA1ceV/VY+XxC5laNzY/zILoJCFHMy9IWBEMHUT B4mS+JD1+HsRjyeUn1SjzJxaWSP27hNfiiBmXjnBwi08NVVNI0aijfNWTyK6llj+cm IoRaBUss/0M0ysWXYejEZu7UoQyCE4WokOgMeR4pudgRupJgAjFVSFQAPgB5ympmkQ Tqaj97QRsq8rQ== X-Bluewin-Spam-Analysis: v=2.4 cv=d5dWygjE c=1 sm=1 tr=0 ts=6605538a a=/U1+rXC3EtFQ66MXwmYm5g==:117 a=IkcTkHD0fZMA:10 a=VMIjK4I9SIo7_mlsk3gA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[213.55.245.153] Epoch[1711625098] X-Bluewin-AuthAs: fulbert@bluewin.ch Date: Thu, 28 Mar 2024 12:24:57 +0100 From: Fulbert Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfKOV6plQ9di3z2owTTEgC79euLtoloMZp39RP2QQIKoK/mcr4Y99rAcy367/jan2+TqJQZFHHBomb0rHUOjpkhBYKpxaRB6TE1JOBXHjbAqCxYbWjZrK sK6fZgQpVr8rZtsLi+d4DLNvfSThzyBM9NowChgETqtX01SZvJRvPaqBSP9sfGXtoAZ9efSJNZT1vA== Received-SPF: pass client-ip=195.186.120.132; envelope-from=fulbert@bluewin.ch; helo=vimdzmsp-sfwd03.bluewin.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: 2.55 X-Migadu-Queue-Id: 6CDD361044 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.55 X-TUID: ADNn6g84axiq Hello, Up to guix 9b84b36, my system was properly booting with a LUKS2 partition mounted on /home. Starting with guix d5f857a (22 mar 2024), the boot hangs on the same system using the same configuration.scm file. The only way out I found when it hangs is hardware shutdown. There are no avaible console nor ssh server started to help troubleshoot and there is nothing written to /var/log/messages when it hangs. I have tried to transfer my /home data to a brand new LUKS1 partition, (as well as removing pointers to the old LUKS2 partition in my config.scm, of course) and the problem remains exactly the same, including those error messages (obtained with a video capture of the screen at boot, after removing 'quiet' from the kernel command line in grub) : #+begin_src boot shepherd[1]: Starting service device-mapping-luks-homes... shepherd[1]: Service device-mapping-luks-homes failed to start. shepherd[1]: Exception caught while while starting device-mapping-luks-homes: (unbound-variable #f "Unbound variable: "S" (bytevector?) #f) #+end_src Maybe it's worth mentionning that I have then tried one configuration of the 'mapped-device' with 'luks-device-mapping' and another one with 'luks-device-mapping-with-options #:keyfile "/…"'. I also tried one configuration with the 'source' declared in plain "/dev/..." and another one declared with the luks '(uuid "…")', but this didnt change anything to the "symptoms". So, although I have learned in the process that LUKS2 is not yet fully supported in guix, this problem also prevents booting using a LUKS1 /home partition in my case. Transfering the /home data to a clear (unencrypted) partition is my current workaround to this problem. Below is the configuration that has worked for several weeks, if not months, using my LUKS2 /home : (mapped-devices (list (mapped-device (source (uuid "")) (target "luks-homes") (type luks-device-mapping)))) (file-systems (append (list […] (file-system (mount-point "/home") (device (file-system-label "luks-homes")) (type "ext4") (dependencies mapped-devices)) […] Best regards and thanks for guix !