From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sP3/C6XpA2aVXQAAe85BDQ:P1 (envelope-from ) for ; Wed, 27 Mar 2024 10:40:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sP3/C6XpA2aVXQAAe85BDQ (envelope-from ) for ; Wed, 27 Mar 2024 10:40:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=F4ZUnLrN; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711532453; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5dLG3sq4wsiVxTw7KeuEGyxrP3EzIxMp8kdz/qrZsqA=; b=cf8OSyJ73ua11NUGA+ZtV4WFD05n39yjRLSentjnE/xnpqK/Bxv0bLkmouZDKM+JRLT81A Zg6UZvTTdD4h+pBtRBAjnUe250lNMITdnh3S4nH3ixmnAEcsZcKfDzRaHH2GExmjVM6P1C MoAgEdr91gOIaND0yx6mvdmDOyjDDIY070jbri6G7sx8Fk65vLlalLBrj683II0qNrCxei x8x7/xAwLi/lkEogRnJOL/V71Fr32swutWAfPpZEH4zkK2MEOEnaNhmOVeuOKgR1NgaSAh C2F0lC3OuumIkIyNVMR5FZgMCQfYvIHqa7Gw144/cdddQzKWuxjgBgP6rZTvDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=F4ZUnLrN; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711532453; a=rsa-sha256; cv=none; b=sbYPQ0k6OUXd1qPIkU4oZU02kfG2q/5sjHN42SK22Zl19AWmhFEy61+3B5GS6/f1O2sPKB Yy2Eoqiy2j0WVh6VdOuHZVyZ5Xj8uapahE5IEw5g6i3wj2AX+Q66z3lWiNz5j7aP9kRBDz ilQp9C6XOr5jfoSu7sts6BkoKYH2sAd1HSh7P6mxO7bTeASUt+amPHJDa3HOmviCS65Y6t q3TqGq78B7kMpkNaBn/PBYCy7araFfAxwdACwII2oQHj8+mzePQ7UZtJeYZLiqIOLg06OK D03iaFrNdN8gsC+DDXWomw4sMX1VHmM4OPs0X+gC7DMexHFV/yPX1LAJn2zxTA== 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 0A5B86F7B8 for ; Wed, 27 Mar 2024 10:40:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpPlj-0007JG-78; Wed, 27 Mar 2024 05:40:27 -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 1rpPld-0007Ia-BG for help-guix@gnu.org; Wed, 27 Mar 2024 05:40:25 -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 1rpPla-0003qX-VW; Wed, 27 Mar 2024 05:40:19 -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:To:From: Subject; bh=5dLG3sq4wsiVxTw7KeuEGyxrP3EzIxMp8kdz/qrZsqA=; b=F4ZUnLrNgcftlfMW4 eIkkohZKHwhT2p1pP9EovU6UQc0ZEystyNNdhwce9NP78eHx/nnk/AwLmh+w8dlEZ3l3HtJZJAzxv kBeTU0bysuB/L8QoS1/cp+6E+5oh3Rcg2v/Ri+tvDz4ZQFSFc5SOwRRcI9uWhW+uSo9Mi89W50den 8xtlkUT0tvwogJLViMfJosJHVgQZHorlHY6NOJ8S3Cty2Er6GI67wY8nult1ujk/uqdO86A6B0BJw bCYQNb0b2ctwdk+91/uy5c3XWmdZIKwExySJwt8iivbC7HSmVNzApJP8ugz7yiDHOSBSVTWwoc77p ENQLvA32pZeKg2NBA==; Message-ID: <932f7bd19906eee52f0f85f9915e283e4d57b1c9.camel@gnu.org> Subject: Re: system hangs at boot - LUKS /home/ problem(?) From: Adrien 'neox' Bourmault To: Fulbert , help-guix@gnu.org In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-HlSCPRt0DU0jqvvIL+9+" Date: Wed, 27 Mar 2024 10:39:36 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.40.4 (3.40.4-9.el9) X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0A5B86F7B8 X-Spam-Score: -13.20 X-Migadu-Spam-Score: -13.20 X-Migadu-Scanner: mx10.migadu.com X-TUID: +ohFydk4q5x8 --=-HlSCPRt0DU0jqvvIL+9+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mardi 26 mars 2024 =C3=A0 18:58 +0100, Fulbert a =C3=A9crit=C2=A0: > I forgot to mention : LUKS version 2 with PBKDF: argon2i. I remember read= ing > that guix supported LUKS2 except for /boot=E2=80=A6 but I might be wrong.= At=20 > least it > has worked for month on my computer until guix d5f857a (22 mar 2024). >=20 > So, new question, do I have to convert to LUKS1=E2=80=89? >=20 > Le 26.03.24 =C3=A0 16:15, Fulbert a =C3=A9crit=C2=A0: >=20 > > Hello! Seeking some help/suggestions to solve a problem preventing > > my system to boot up, which was working properly up to guix 9b84b36 > > (21 mar 2024) (note: I confess that my system is not totally pure). > >=20 > > Starting with guix d5f857a (22 mar 2024) up to my latest guix pull > > with 1415ea7, the **system hangs during boot**, and it does before > > anything is written to /var/log/messages. So, using a video capture > > of the screen at boot, I was abble to catch=E2=80=89: > >=20 > > #+begin_src boot > > shepherd[1]: Exception caught while while starting device-mapping-luks-= homes: > > (unbound-variable #f "Unbound variable: "S" (bytevector?) #f) > > #+end_src > >=20 > > =E2=80=A6 which appears to be the culprit=E2=80=89?! > >=20 > > follows a long list of "shepherd[1]: Service XXX depends on YYY" and > > then > > #+begin_src boot > > shepherd[1]: The following services could not be started in the backgro= und: > > > > #+end_src > >=20 > > =C2=A0From there=E2=80=89: a blinking cursor and the only way out I fou= nd is > > CTRL-ALT-DEL, which triggers shepherd to stop some services. After > > that I have to shutdown using hardware button. > >=20 > > My system and its config.scm have not changed and I see nothing > > relevant, related to LUKS/dm-crypt, in `guix pull -l`. > >=20 > > My LUKS is configured like so=E2=80=89: > >=20 > > =C2=A0=C2=A0 (mapped-devices > > =C2=A0=C2=A0=C2=A0=C2=A0 (list > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (mapped-device > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (source (uuid "")) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (target "luks-homes") > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (type luks-device-mapp= ing)))) > >=20 > > =C2=A0=C2=A0 (file-systems > > =C2=A0=C2=A0=C2=A0=C2=A0 (append > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [=E2=80=A6] > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (file-system (mount-po= int "/home") > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (device (file-sys= tem-label "luks-homes")) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (type "ext4") > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (dependencies map= ped-devices)) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [=E2=80=A6] > >=20 > > Any help would be appreciated. > >=20 >=20 Hi everyone, the exact same thing happens to me too since d5f857a. I'm using a pure GNU Guix installation with my /home as a LUKS partition. My fs configuration :=20 (file-systems (cons*=20 (file-system (mount-point "/home") (device "/dev/mapper/crypthome") (type "ext4") (dependencies mapped-devices)) (file-system (mount-point "/boot/efi") (device (uuid "A012-A17A" 'fat32)) (type "vfat")) (file-system (mount-point "/") (device (uuid "dfaec018-b99b-4d34-a206-eec25b833c45" 'ext4)) (type "ext4")) %base-file-systems))) Happy hacking! --=20 Adrien Bourmault Maintainer, GNU Boot project Associate member, Free Software Foundation GPG : 393D4CC68136F39799DA75F295F65F55F682A17A --=-HlSCPRt0DU0jqvvIL+9+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQ5PUzGgTbzl5nadfKV9l9V9oKhegUCZgPpTAAKCRCV9l9V9oKh eqoKAQDLgMXTQhRGtvAwCFGGdN7ZwmjvJ9rV3lhLBGOWrd7F+QD/dcEESPxvG70k VOSCfRfvAKHbnR9UYRa/akZJB1VpAQs= =8SAX -----END PGP SIGNATURE----- --=-HlSCPRt0DU0jqvvIL+9+--