GNU bug report logs - #70051
guix system hangs on boot with LUKS /home partition

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Fulbert <fulbert@HIDDEN>; merged with #70266; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 70051-done <at> debbugs.gnu.org:


Received: (at 70051-done) by debbugs.gnu.org; 8 Apr 2024 12:19:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 08:19:23 2024
Received: from localhost ([127.0.0.1]:45512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtny6-0003ss-OP
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 08:19:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>)
 id 1rtny4-0003ro-CO; Mon, 08 Apr 2024 08:19:20 -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 1rtnxr-0006b4-Ll; Mon, 08 Apr 2024 08:19:07 -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=pJHFaKlXz61kgIUdlvtiCzYrn7VRnYmrsk6wUHClKTg=; b=NgdKnofm5ciEnhsT3yYZ
 jLr4U2InG+sG3g/2X/STBlP+sIL9CEq4VOG/6+D4acZOpdJ5Jq2TuGsmN8aAwYvfB+dtH9rW80Zrc
 ly9UhRIbePBZLX7vN0hF6VYE86G3Gfl7X/B7JWMovBDfq2B7sOp+o3ucTs+WjB6I0M/DooZ1Ea7Jv
 MPb36Lzf3+ylVINyIAFzaoaiYISptzVZ7LgZb/4Zo9dAo/i5yLA/fCeTW+0r/1X826L9Y8QbXQuhh
 wQ+4iHh5Xdd76azocRJO9kUV9ph6CCrPnuBT1GnfU6T/vfA0o3JH3rV6o0PzaDPHMPopnSf5zUD7v
 Jt5WM1KY3uPcOw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: bug#70266: Failure to open LUKS devices from a Shepherd service
In-Reply-To: <a0e3d327-822e-4c8e-84cb-37f91369621c@HIDDEN>
 (aurtzy@HIDDEN's message of "Sun, 7 Apr 2024 21:05:13 -0400")
References: <87h6gcoo85.fsf@HIDDEN>
 <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN>
 <87wmp8n3h4.fsf@HIDDEN>
 <a0e3d327-822e-4c8e-84cb-37f91369621c@HIDDEN>
Date: Mon, 08 Apr 2024 14:19:04 +0200
Message-ID: <87le5oqc7b.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70051-done
Cc: 70266-done <at> debbugs.gnu.org, 70051-done <at> debbugs.gnu.org
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 (---)

Hi,

aurtzy <aurtzy@HIDDEN> skribis:

> On 4/7/24 19:43, Ludovic Court=C3=A8s wrote:
>> Oops, sorry for not noticing it earlier!  (That was a hard-to-debug one
>> so kudos for the work you and others put in it.)
>>
>> I pushed these two commits to address the problem:
>>
>>    49f82fca41 mapped-devices: luks: Specify modules needed at the top-le=
vel.
>>    6062339156 mapped-devices: <mapped-device-type> can specify modules t=
o import.
>>
>> It works well in my tests but please let me know if something=E2=80=99s =
amiss.
>
> Just pulled+reconfigured, and my machine boots just fine with the
> problem LUKS device being decrypted as expected again. Thanks!

Awesome, thanks for confirming, and apologies for introducing this
regression in the first place!

Ludo=E2=80=99.




Notification sent to Ludovic Courtès <ludo@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 70051-done <at> debbugs.gnu.org:


Received: (at 70051-done) by debbugs.gnu.org; 8 Apr 2024 12:19:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 08:19:23 2024
Received: from localhost ([127.0.0.1]:45512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtny6-0003ss-OP
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 08:19:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>)
 id 1rtny4-0003ro-CO; Mon, 08 Apr 2024 08:19:20 -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 1rtnxr-0006b4-Ll; Mon, 08 Apr 2024 08:19:07 -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=pJHFaKlXz61kgIUdlvtiCzYrn7VRnYmrsk6wUHClKTg=; b=NgdKnofm5ciEnhsT3yYZ
 jLr4U2InG+sG3g/2X/STBlP+sIL9CEq4VOG/6+D4acZOpdJ5Jq2TuGsmN8aAwYvfB+dtH9rW80Zrc
 ly9UhRIbePBZLX7vN0hF6VYE86G3Gfl7X/B7JWMovBDfq2B7sOp+o3ucTs+WjB6I0M/DooZ1Ea7Jv
 MPb36Lzf3+ylVINyIAFzaoaiYISptzVZ7LgZb/4Zo9dAo/i5yLA/fCeTW+0r/1X826L9Y8QbXQuhh
 wQ+4iHh5Xdd76azocRJO9kUV9ph6CCrPnuBT1GnfU6T/vfA0o3JH3rV6o0PzaDPHMPopnSf5zUD7v
 Jt5WM1KY3uPcOw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: bug#70266: Failure to open LUKS devices from a Shepherd service
In-Reply-To: <a0e3d327-822e-4c8e-84cb-37f91369621c@HIDDEN>
 (aurtzy@HIDDEN's message of "Sun, 7 Apr 2024 21:05:13 -0400")
References: <87h6gcoo85.fsf@HIDDEN>
 <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN>
 <87wmp8n3h4.fsf@HIDDEN>
 <a0e3d327-822e-4c8e-84cb-37f91369621c@HIDDEN>
Date: Mon, 08 Apr 2024 14:19:04 +0200
Message-ID: <87le5oqc7b.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70051-done
Cc: 70266-done <at> debbugs.gnu.org, 70051-done <at> debbugs.gnu.org
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 (---)

Hi,

aurtzy <aurtzy@HIDDEN> skribis:

> On 4/7/24 19:43, Ludovic Court=C3=A8s wrote:
>> Oops, sorry for not noticing it earlier!  (That was a hard-to-debug one
>> so kudos for the work you and others put in it.)
>>
>> I pushed these two commits to address the problem:
>>
>>    49f82fca41 mapped-devices: luks: Specify modules needed at the top-le=
vel.
>>    6062339156 mapped-devices: <mapped-device-type> can specify modules t=
o import.
>>
>> It works well in my tests but please let me know if something=E2=80=99s =
amiss.
>
> Just pulled+reconfigured, and my machine boots just fine with the
> problem LUKS device being decrypted as expected again. Thanks!

Awesome, thanks for confirming, and apologies for introducing this
regression in the first place!

Ludo=E2=80=99.




Notification sent to Fulbert <fulbert@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 8 Apr 2024 01:05:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 21:05:29 2024
Received: from localhost ([127.0.0.1]:45036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtdRx-0003Pv-IU
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 21:05:29 -0400
Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]:55802)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aurtzy@HIDDEN>)
 id 1rtdRw-0003PH-7R; Sun, 07 Apr 2024 21:05:28 -0400
Received: by mail-yw1-x1133.google.com with SMTP id
 00721157ae682-615019cd427so32361637b3.3; 
 Sun, 07 Apr 2024 18:05:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712538315; x=1713143115; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=8GOffww7q66P0KdcmcogJx7kMwAJ1m3k+OqRpeJf2dY=;
 b=FO/Q4txs4ZzaldiH/1W4DOg51Uu8wZldFp0s7+wZr71EIhZIMtXrKhrS67ipZPRpf5
 URUeXsaARcLSL4cVG/WcC2AXk5av2BUR7AlA6UkyBecHynYxbu6BjUrPlR2VFDTclwcH
 fHa1U8/RULqy1VsLtbigwmprElLolralzwg0bJ7n8mUXkftyoYAigXXU/dtD9Rj6TbBy
 IhXREt+Y+vhCEB5crit5HF5fAsT+vJKatux00h9P0PNaOfLPbnfPpVDHx6oOFmBLkRz2
 cA61/B2wOKq5BSRQiEKFAoZLZsNYKzM4tHGnrggjx7yEbbEQGbVjWD+oNT28DuHP0PDy
 Cynw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712538315; x=1713143115;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=8GOffww7q66P0KdcmcogJx7kMwAJ1m3k+OqRpeJf2dY=;
 b=BmMqnh474tzaMqWa0MwfxdFUgrIAoHtACfRfczwISVqUEbY5D5wUdxRFNKf3BMXnzZ
 hwh3Ay1ZMJN3WKBgM7Uqsox6ZG3M8TCKDIcLE4TPE+DF5mdnvUCItWHKDpIdS8lyQp+z
 3fxenqNx/S15YB0Lyy8x+Fpyx0wzJnQ4xZvGgVWNf2c8Kzv8+CIfxrZCrK7cSI6oEtrc
 Zl6dyxCJTu5VPIrXeHdGaCYS/VNlvRyJCWf1UIPle4p/D71arECJ3wLqNBRCXtXcPGG1
 SHaikn9etgfEjL+t6VdDcMSexKEY5/JLOYQOg81YwDv8of1gUYMJOL0Ji9gPzaQtCAtl
 8JYg==
X-Forwarded-Encrypted: i=1;
 AJvYcCXy4jIyo9a2bGMpwGNCDQUYhCjSitCwp1PxuwFjZTySWF3oLX+WFcRuZBeX5GU+A5k1ShDihO6Stn1vNxuIAOJ3TqCY4Fk=
X-Gm-Message-State: AOJu0Yy5tnhSukDM4L+xuJwy+LtqRsCV9jzeWT5I7NfxXzMQEWzDnU2E
 Y59+KMT7GPi1m0wcd8vpFEULD9p1vTppntgNbijT8LHiIAl014QZJ9txOXJz
X-Google-Smtp-Source: AGHT+IHsGl720TyySGV9NTEWX2DnE2QaCtNWb3KgIDjrCdpNrlIKMTan9tdpG2LNHGNXlCDGk46Qzg==
X-Received: by 2002:a81:77d5:0:b0:615:144f:1f5c with SMTP id
 s204-20020a8177d5000000b00615144f1f5cmr6497435ywc.47.1712538315312; 
 Sun, 07 Apr 2024 18:05:15 -0700 (PDT)
Received: from [192.168.1.87] (ool-18bb63f6.dyn.optonline.net. [24.187.99.246])
 by smtp.gmail.com with ESMTPSA id
 t12-20020ac8738c000000b0043499916491sm763848qtp.30.2024.04.07.18.05.14
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 07 Apr 2024 18:05:15 -0700 (PDT)
Message-ID: <a0e3d327-822e-4c8e-84cb-37f91369621c@HIDDEN>
Date: Sun, 7 Apr 2024 21:05:13 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#70266: Failure to open LUKS devices from a Shepherd service
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
References: <87h6gcoo85.fsf@HIDDEN>
 <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN> <87wmp8n3h4.fsf@HIDDEN>
Content-Language: en-US
From: aurtzy <aurtzy@HIDDEN>
In-Reply-To: <87wmp8n3h4.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70051
Cc: 70266 <at> debbugs.gnu.org, 70051 <at> debbugs.gnu.org
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: -1.0 (-)

Hi Ludo',

On 4/7/24 19:43, Ludovic Courtès wrote:
> Oops, sorry for not noticing it earlier!  (That was a hard-to-debug one
> so kudos for the work you and others put in it.)
>
> I pushed these two commits to address the problem:
>
>    49f82fca41 mapped-devices: luks: Specify modules needed at the top-level.
>    6062339156 mapped-devices: <mapped-device-type> can specify modules to import.
>
> It works well in my tests but please let me know if something’s amiss.

Just pulled+reconfigured, and my machine boots just fine with the 
problem LUKS device being decrypted as expected again. Thanks!

Cheers,

aurtzy





Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 7 Apr 2024 23:43:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 19:43:54 2024
Received: from localhost ([127.0.0.1]:44998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtcAz-00054n-UH
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 19:43:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38746)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>)
 id 1rtcAx-000542-LL; Sun, 07 Apr 2024 19:43:52 -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 1rtcAl-0000HZ-0C; Sun, 07 Apr 2024 19:43:39 -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=n5N1DmkiUXQ8dNucyvJcAYto0KartAtx9zZ1htMPfZY=; b=BHjq5O/cPeG08c7BmYSF
 +af2ip6n/r4t1cDjMvJtnvcE6XFVXhKBmstvHPZK37FtkfmRAlHQ+fu7+nGCzlS+XiQ9t/5umNEjE
 v0PoNT89boB6lhAVwFDGEzpAjgbcqYWe89jedCmvTnQixxNJdXef1bduEl/JNbfPZ/CXRJrmNIrBj
 wAuf6sUfKLnGjooim11XX7xsiDSwc2dPUVHxcsP4m0a4l/AqPizGEMUm9omqaqQz3cy7WT8A18vey
 kht/WnO0basYUszIZgkJrAcMlmcY990DZTrpzu6tzXzBZkxiCaOqtrJI3K2zT4rmCXIBPTQqfVODD
 sIg0SurDSyGnKA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: bug#70266: Failure to open LUKS devices from a Shepherd service
In-Reply-To: <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN>
 (aurtzy@HIDDEN's message of "Sun, 7 Apr 2024 18:19:25 -0400")
References: <87h6gcoo85.fsf@HIDDEN>
 <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN>
Date: Mon, 08 Apr 2024 01:43:35 +0200
Message-ID: <87wmp8n3h4.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70051
Cc: 70266 <at> debbugs.gnu.org, 70051 <at> debbugs.gnu.org
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 (---)

Hi aurtzy,

aurtzy <aurtzy@HIDDEN> skribis:

> This bug has also been reported here: https://issues.guix.gnu.org/70051
>
> I sent a patch that a few others have confirmed fixes the issue:
> https://issues.guix.gnu.org/70051#5

Oops, sorry for not noticing it earlier!  (That was a hard-to-debug one
so kudos for the work you and others put in it.)

I pushed these two commits to address the problem:

  49f82fca41 mapped-devices: luks: Specify modules needed at the top-level.
  6062339156 mapped-devices: <mapped-device-type> can specify modules to im=
port.

It works well in my tests but please let me know if something=E2=80=99s ami=
ss.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.
Merged 70051 70266. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 3 Apr 2024 18:01:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 03 14:01:30 2024
Received: from localhost ([127.0.0.1]:59525 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rs4vR-0004kB-1C
	for submit <at> debbugs.gnu.org; Wed, 03 Apr 2024 14:01:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57506)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <neox@HIDDEN>) id 1rs4vM-0004ja-IF
 for 70051 <at> debbugs.gnu.org; Wed, 03 Apr 2024 14:01:27 -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 <neox@HIDDEN>) id 1rs4v6-0007kR-JP
 for 70051 <at> debbugs.gnu.org; Wed, 03 Apr 2024 14:01:09 -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:To:From:Subject:in-reply-to:
 references; bh=EEMK6W/rDElrOpFqbIqHMA2Iqfe4Gwvf1yOtvmol2Zw=; b=iN23svcS7kwA++
 /404t00F/mc3LK6oY4ykTRNkoM13TJnYDSczqgr29XRaY1SAKTQ0bFMZZkm+Xi9w0o8zwijEA8jWJ
 OTcA+tCHBPAeC7ZxyyPsqLaunrq8gy31BMA1ZeSzSVxPK0eSA9vFScPovTzWPDF7QMUqYUi3vm732
 HNcGQtiqMSOcm3EyHwhwQczKkJz8M8s4ns4feB4b031y/AFbi54eeDEc5H1gkPmqBtcItyyjO4w7V
 qIZ5LB7SfqhYB38+oLwMpeGDYVnDq6G7x45oeMVjp+Awz8nJFihEoHcvfdDHm3bwyzHOnMnveDRfw
 XGC9a263bGr+b6aOy+VA==;
Message-ID: <8764972d22962dc64f3d6b6ccaf4bbfc2a52517b.camel@HIDDEN>
Subject: guix system hangs on boot with LUKS /home partition
From: Adrien 'neox' Bourmault <neox@HIDDEN>
To: 70051 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 03 Apr 2024 20:01:00 +0200
MIME-Version: 1.0
User-Agent: Evolution 3.46.4 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70051
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 (---)

I can confirm aurtzy's patch works (just tested on top of
7af70efd7633b0d70091762cf43ce01a86176e8e)




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 2 Apr 2024 22:43:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 18:43:47 2024
Received: from localhost ([127.0.0.1]:56512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrmr5-0004E4-0X
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 18:43:47 -0400
Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:52641)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <beoram@HIDDEN>) id 1rrkIq-0007Dt-De
 for 70051 <at> debbugs.gnu.org; Tue, 02 Apr 2024 16:00:17 -0400
Received: by mail-io1-xd35.google.com with SMTP id
 ca18e2360f4ac-7c7ee7fa1d8so184328539f.1
 for <70051 <at> debbugs.gnu.org>; Tue, 02 Apr 2024 13:00:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712088006; x=1712692806; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=5Yp7SP62Oq2+ePsK8GCjV+XD7MJDjEPuNCLSLH5tmmg=;
 b=ZqGyyFHijxs521TSCLxXn8Jr8kZQY0Ewvb8hWPU7HvRy1CT8bstJ/JZlTTbLjJIRqh
 ysuW1/2AmDEKu7j1lTpkdI5kFlPk14JcvGUH4VE9o+oUmSh2F3F/Y/1m3rZNEStsMssY
 PtS5ZgELP0ykLC5htuB/McZL6dQZimni7F/SgwwthOb9e3EXHvghJSqj2Vu4jABDCLwj
 vFk4fgBprxFSJ+h77BJBs7NbjDzD5OInJTa37ZcC82rTTgoARmwJh6wP1YnI/AbftwM3
 XJJp9eI4AWVHDCcazpXNdu+Ryhul1HmPdrHedy8pi86nCNfyTs8fPbYB/JZRZX8JQ/DV
 IkXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712088006; x=1712692806;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=5Yp7SP62Oq2+ePsK8GCjV+XD7MJDjEPuNCLSLH5tmmg=;
 b=TxLAuIuc4vEyVtnBwKZSQfQ/lN3QVEbF2iXTQrKgWbzrsO0lKHNiSb6quHGuAbVXHo
 kqmZNqL9jcAw0h18uvCAJtDe7sXdzT8l5rwVpvp02fbzdH6qElmmFXgmmEf2oNCPr5AS
 pdqg+/3NizSDb1l84u2AEF+BSrDc8kwe3sJc8g6Ngkq1SIgDSgOfHNvPczG/17URgfUW
 3PnuaOtT1PhMI1cGNJBZ9SdkudBoe28xsk4zkJUnecSr6/OOQFrtB1kghBlsNv91KS+F
 eP31iuj5L0SxFeCgTIbtJbUN49ANtZb9vEWwtZKheSLl7Fyr/LYOMGUYkYqEOV8OJuz1
 sX6w==
X-Forwarded-Encrypted: i=1;
 AJvYcCVaamknUQ0ZMJxPv5q1aAssrc5f0aEeyqD6hcs3HdkwwpOTCzJMq7xOYDVHi/2c70Sz07jgYXAxG4CrLdqfRaz0mXaYHY0=
X-Gm-Message-State: AOJu0Yz/WOVJ7pAhJnZoEBV7rSOF+btGiGDAF68nsHx53ZbB78lBOh/f
 IJoUSltS3lI721GUA9D/hjDJlYDTtIcO6nYxXb2Cl+F1TeEJxpKz
X-Google-Smtp-Source: AGHT+IEJMRvgcfZiUEqKJsieYJ0dFl6DmJAHMAxykwx5O116TTTk4obsS2mo8O2/7E2dkbQVasZOXw==
X-Received: by 2002:a05:6602:2c90:b0:7d0:9cc2:e3ad with SMTP id
 i16-20020a0566022c9000b007d09cc2e3admr18104388iow.16.1712088006118; 
 Tue, 02 Apr 2024 13:00:06 -0700 (PDT)
Received: from gomati ([37.19.210.21]) by smtp.gmail.com with ESMTPSA id
 e14-20020a5d85ce000000b007cf23a498dcsm3413781ios.38.2024.04.02.13.00.03
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 02 Apr 2024 13:00:05 -0700 (PDT)
From: Benjamin Slade <beoram@HIDDEN>
To: Remco van 't Veer <remco@HIDDEN>, Fulbert <fulbert@HIDDEN>,
 help-guix@HIDDEN,  70051 <at> debbugs.gnu.org,  Adrien 'neox' Bourmault
 <neox@HIDDEN>,  Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: system hangs at boot - LUKS /home/ problem(?)
In-Reply-To: <87v853214c.fsf@HIDDEN> (Remco van t. Veer's message of
 "Sat, 30 Mar 2024 16:25:07 +0100")
References: <ZgLmn5UZEroLZ0Wi@HIDDEN>
 <fb053096-0b0b-cda9-6799-73155a2bff58@HIDDEN>
 <932f7bd19906eee52f0f85f9915e283e4d57b1c9.camel@HIDDEN>
 <ZgVIVOrLvgh3n4x-@bluewin.ch>
 <0c0c29f6-9aba-9bd5-e118-68c99e22d1ad@HIDDEN>
 <87v853214c.fsf@HIDDEN>
User-Agent: mu4e 1.12.2; emacs 30.0.50
Date: Tue, 02 Apr 2024 15:00:02 -0500
Message-ID: <87y19v4jst.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70051
X-Mailman-Approved-At: Tue, 02 Apr 2024 18:43:44 -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: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I can't roll back to the earlier commit mentioned by Remco because other th=
ings/channels depend on me being roughly up-to-date on the main guix channe=
l.

However, I can confirm the issue, as changing my configuration *not* to mou=
nt an encrypted /home resolves the boot issue.

I note two things:

a. when I try to configure with an encrypted /home, I get error/warning mes=
sages at the end: (earlier I also got a message about the "find-crypthome-b=
y-uuid" process failing; I changed to specify a /dev/sXN device instead)

        guix system: warning: exception caught while executing 'start' on s=
ervice 'device-mapping-crypthome':
      error: system*/tty: unbound variable
      guix system: warning: some services could not be upgraded
      hint: to allow changes to all the systems to take effect, you will ne=
ed to reboot.

b. no `crypttab' is created (I don't remember how Guix handles encrypted /h=
ome's to know whether or not this is expected).


--B.

On Sat, 30 Mar 2024 16:25:07 +0100 (3 days, 4 hours, 30 minutes ago), Remco=
 van 't Veer <remco@HIDDEN> wrote:

> Hi,

> Confirmed on a couple of my installs.  I too have an unencrypted root
> and encrypted home filesystems.  The passphrase prompt never appears and
> the system seems to be waiting for something or is halted.

> I've git bisected it down to:

>   commit 6f9d844d2ece7b369d17bbe678978462425f869c (HEAD)
>   Author: Ludovic Court=C3=A8s <ludo@HIDDEN>
>   Date:   Wed Mar 20 18:48:38 2024 +0100

>     services: shepherd: Load each service file in a fresh module.

>     Fixes <https://issues.guix.gnu.org/67649>.

>     * gnu/home/services/shepherd.scm (home-shepherd-configuration-file)[c=
onfig]:
>     Define =E2=80=98make-user-module=E2=80=99.  Call =E2=80=98load=E2=80=
=99 in =E2=80=98save-module-excursion=E2=80=99.
>     * gnu/services/shepherd.scm (shepherd-configuration-file): Likewise.

> Commit 2b052fe3c0fa85e9faa8873a581568ad4c78e151 still works.

> Cheers,
> Remco

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 2 Apr 2024 20:19:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 16:19:28 2024
Received: from localhost ([127.0.0.1]:56411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrkbP-0000SE-M6
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 16:19:28 -0400
Received: from wfout6-smtp.messagingengine.com ([64.147.123.149]:58747)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1rrkbL-0000RG-DN
 for 70051 <at> debbugs.gnu.org; Tue, 02 Apr 2024 16:19:25 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailfout.west.internal (Postfix) with ESMTP id 3B4511C000DA;
 Tue,  2 Apr 2024 16:19:13 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute6.internal (MEProxy); Tue, 02 Apr 2024 16:19:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm1; t=1712089152; x=1712175552; bh=bj6wIC6bWH
 cMmLSUdeFQW+1RdjnCJfPMf/Yaed23tpA=; b=WV6bwoiLKggRXllZ4DD40tSao7
 wS65HAJCFHvmhO/kF46mwkVahWXhZTasl6R2dmyMxy8T9iUF06CSeu3Udty/TR1f
 /EtBLhY0Ehnn5UxwAW40bqFjxjPsYVj9e71Vg+U4YJ9UZbr70Wuht1MMjiIn/X8B
 3W/HV2TxeRP739XL31LFE0+ind3rAcpId11mXJ2EnGDkuGREyADSVfFIgU5pI0pF
 VNFE48ScVF4vMDYzgCYMt9Eirg6XDSwGZJW573a3bWbSzCvVTDVRyCoZYeyrh4Bx
 VDV2/9N//FbobngTwCtu4f9H6Vbs6YTLXERxZw6f+65iKzVjUrDHwN50mtLw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1712089152; x=1712175552; bh=bj6wIC6bWHcMmLSUdeFQW+1RdjnC
 JfPMf/Yaed23tpA=; b=Y/TiS66nnii5dwlUHmxvlf17LznM8MhgZZK5Ji0jmEv/
 tzSMfVGjJN/POM0c2ATfsQ4ep4mMlJaCfIweISg6Nqtc9g7x8d4yI6fRttbBlRA8
 cw2W91ZSbVj+DT20/V2fTXVIl21vhHAuon4U3lZsI0wrqYWPQ+OyszifP6jpkEa6
 LU1fCi7n/KQ+YL0HvBks1spVisK0spyS9edauAQ96kqpC6rZjacjW/jw/R8Q5Gu8
 vXfcSGNjJHYldLOrj7J6WShnE01HyzVM255e1Gi2oJH665oOx3OS8wqeUj8v1q5H
 2is3DZFQZeZ0pW6Y6aPLVPAfDvUtO/KSk8Rsfgk4MA==
X-ME-Sender: <xms:QGgMZost6lNWXvaLgVOkQBlf6NMMsNQoEh0sv6cu5WjQhG1yFHzIAg>
 <xme:QGgMZldiuu1VN_WLijP5AKH0cvqNOwp87h6AWVdWHlrGJZreZJctFarUi7ZfHnVkS
 iVFXXRnQe_u3eS_Lg>
X-ME-Received: <xmr:QGgMZjxhSr4fRtboPiRtqVkoQnwHr69271uPjnrfPIZ9b07Myp67Ae1lJsP7PA3tFrTDlTojFX-kAj6rysvNbBXsWHn1Ly45LCBqpvucbUg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefvddgudegjecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpeftvghm
 tghouchvrghnucdkthcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqe
 enucggtffrrghtthgvrhhnpeekgeeigeeifedujefghefhvefhvddvtdetteefgeduvddt
 gffhveeuheeftdevieenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvghmtghosehrvghmfihorhhk
 shdrnhgvth
X-ME-Proxy: <xmx:QGgMZrO6OsneChp9E-I7-bxN9dbQzkq4nqVgMz-TNRraOOqXz5JQOw>
 <xmx:QGgMZo8UBgUE1cRy0xcfQWSd9kiFaHmG9_VE0l2GzaeGqai1plxGSQ>
 <xmx:QGgMZjXXyRDiAPIN57hOApw4jX3sWyFR8KWgtsS0Wqzz-uxtWoSMgQ>
 <xmx:QGgMZhfRw0rRIfiaMaU09YH3VId5LXUniRhk-FmjV2xDBHBaORzA3g>
 <xmx:QGgMZlMw7fLpQYy1wV9mVt0iopqqnKSdqoGeYlZpEP7VIK4IMu1RXy09>
Feedback-ID: if0694934:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 2 Apr 2024 16:19:11 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
To: Benjamin Slade <beoram@HIDDEN>
Subject: Re: system hangs at boot - LUKS /home/ problem(?)
In-Reply-To: <87y19v4jst.fsf@HIDDEN> (Benjamin Slade's message of "Tue, 02
 Apr 2024 15:00:02 -0500")
References: <ZgLmn5UZEroLZ0Wi@HIDDEN>
 <fb053096-0b0b-cda9-6799-73155a2bff58@HIDDEN>
 <932f7bd19906eee52f0f85f9915e283e4d57b1c9.camel@HIDDEN>
 <ZgVIVOrLvgh3n4x-@bluewin.ch>
 <0c0c29f6-9aba-9bd5-e118-68c99e22d1ad@HIDDEN>
 <87v853214c.fsf@HIDDEN> <87y19v4jst.fsf@HIDDEN>
User-Agent: mu4e 1.12.2; emacs 29.3
Date: Tue, 02 Apr 2024 22:19:09 +0200
Message-ID: <87bk6rjz5u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70051
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Fulbert <fulbert@HIDDEN>, help-guix@HIDDEN,
 Adrien 'neox' Bourmault <neox@HIDDEN>, 70051 <at> debbugs.gnu.org
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: -1.7 (-)

2024/04/02, Benjamin Slade:

> I can't roll back to the earlier commit mentioned by Remco because
> other things/channels depend on me being roughly up-to-date on the
> main guix channel.

Reverting the commit on a local checkout of guix worked for me but isn't
workable of course.  I tested the patch provided by aurtzy
(https://issues.guix.gnu.org/70051#5) and that worked worked too.

For now I won't reconfigure my system until this issue is fixed or try
out "guix pull --switch-generation" to go back to some earlier situation
when I really need to deploy some configuration change.

Remco




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 2 Apr 2024 12:15:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 08:15:01 2024
Received: from localhost ([127.0.0.1]:52927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrd2Z-0006r4-HX
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 08:15:01 -0400
Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]:57773)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1rrd2U-0006pR-FB
 for 70051 <at> debbugs.gnu.org; Tue, 02 Apr 2024 08:14:57 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailfhigh.west.internal (Postfix) with ESMTP id 483E718000B0;
 Tue,  2 Apr 2024 08:14:43 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Tue, 02 Apr 2024 08:14:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm1; t=1712060082; x=1712146482; bh=K40ZBkFpB3
 macGiq4PT/H8EzDAKZmOKASNruK6OHqAE=; b=QRX19n56V59/f2EjTicvWZsiIL
 EFbVHfquxgxJ4JzXr8lpL3TVekcwlde/5Xl8j77Kq1cYGZ0WEfGH1j87nz3Ue9PL
 sxkOA317X2nWijbUTAq7g5H5UiwF+jGVbcOPMQpSeXu5zNHo0xFHEVTKiJ9ruXG6
 Yr9qjE6quvH887Hf0dlXfbu8delh7yruPKGyMepL0Si/7IR/04WufSljSeezAgPO
 JeHn0zPF6SgC7SahuNLjRUlExEn3WwIKCld/JjGofF47tiqME9YMtXWOjG7ensnt
 e/U18GpuE1klGRi1geekjtTlFGW+tSR8uLle3D8m/lEt33IM9AcmawuPKQJA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1712060082; x=1712146482; bh=K40ZBkFpB3macGiq4PT/H8EzDAKZ
 mOKASNruK6OHqAE=; b=jAA8KmkKZAo0IlbRutt6qQgx95QW0EEkuHfXRmrzy49j
 mkqi7syYaBAclClh6VHRaCBMz6xPyKeK62eOPR2PhJ1EDi4P63tzFIamr0b+3YPU
 NZrmxqsgLHedg6ZvE72dFgElpsVfxdVEQkHrqLqNrYbonnf2ZKZEv+07RtqIeJHN
 uoaQPWJnAax+u+ThWxM0Davfh+OHxih+6a/vkriIH9wxVYfksuUTL+ESvZQ4rGBg
 0UAaWppnAuGxr5Isggf/1SezdmDa6uPras8L7+BgtVlBqM3/0Xf12TQfU4g7QXh8
 snUgfFuArq7vvr30pKJT2+Q5AyhYYBtBFmjux/v/mQ==
X-ME-Sender: <xms:svYLZn0EMhTO_2iqvxeWwRUWysv9tpJEIlizNe5Fo0Ozykwo03toSg>
 <xme:svYLZmFThloy9cz2oZl8yb2dlw38pf0x96OZoqlIGHNhcv4QlVg5g20Dlpfe0M4Z2
 rpBpj7REgu1EBKrIA>
X-ME-Received: <xmr:svYLZn7-5izHtnzaTqKZohJsGCOMlt9UInBVaaJffMZI2Yc6A-9o5OYAt2AV4BPKhFSXruHTGb8TqEkX_fRpi1moZxUrcCapfhnIfbRrxik>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefvddghedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesthdtre
 dttdertdenucfhrhhomheptfgvmhgtohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtgho
 sehrvghmfihorhhkshdrnhgvtheqnecuggftrfgrthhtvghrnheptedvheekjedvledute
 ejieegueekfeekgefhkeekheehgefgiefhgeduieetjeffnecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvmhgtohesrhgvmhifohhrkhhsrd
 hnvght
X-ME-Proxy: <xmx:svYLZs37CszavwB95BieQeg4R1ZS5gGCpZ449bhur_Wm4SfYYExZ-w>
 <xmx:svYLZqEoJ-Jo0LBqlF3G6WGU1lq4WEaKNXjp2pnDmOUvxhvLMh_thw>
 <xmx:svYLZt-OfwwItixAH4BR3GNCPjTla5mNvvG419VYfgOsoYeGQnWJWA>
 <xmx:svYLZnnA3XZz8HTO4Z1R1SAuNNVdCj2G20_pzxWgGpGusmW7gH40ng>
 <xmx:svYLZmBREeNU4G2P6ri4VkwmV0QHRAPmh5mwk4fG7Chfj_VM1SsNxwgS>
Feedback-ID: if0694934:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 2 Apr 2024 08:14:41 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>, 70051 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: open-luks-device: Fix unbound variables.
In-Reply-To: <6b8484d383512fe8f9c2bc65ff495395f6fa0abf.1712036470.git.aurtzy@HIDDEN>
 (nobody's message of "(unknown date)")
References: <6b8484d383512fe8f9c2bc65ff495395f6fa0abf.1712036470.git.aurtzy@HIDDEN>
User-Agent: mu4e 1.12.2; emacs 29.3
Date: Tue, 02 Apr 2024 14:14:39 +0200
Message-ID: <87zfucneq8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70051
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: -1.7 (-)

2024/04/02, aurtzy:

> Can anyone confirm this patch works for them too?

Yes, it does.

Cheers,
Remco




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 2 Apr 2024 06:27:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 02:27:54 2024
Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrXcg-00079D-DH
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 02:27:54 -0400
Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:61519)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aurtzy@HIDDEN>) id 1rrXcd-00078N-OH
 for 70051 <at> debbugs.gnu.org; Tue, 02 Apr 2024 02:27:53 -0400
Received: by mail-qk1-x72e.google.com with SMTP id
 af79cd13be357-78a60d10eeeso320984785a.2
 for <70051 <at> debbugs.gnu.org>; Mon, 01 Apr 2024 23:27:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712039261; x=1712644061; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=gBE1tZcyZtObJ0wn6c16poZDnkyBIaJwFh66cLiFdmU=;
 b=SYygEJIQe/IDVccz/5PZgaK4a1Yzo4GC5MOWCmzylkBAO/BAfUFQwOj3Y3bwgKP0Q9
 lv5NHGn+VINB10caAv4NqcrSXcZeXNniaFsw6LYrXsVRsAaNpZpYuCxe8y2s6oBmaKby
 XiGfvD4PwwtJ7ekfc18MY7mhN+kOiT7H9iAuZe8aR23v7LiC2l82LSLD/MHRgfNJsLta
 BMv5esREeZD9SDwF9HJ7riwQv7NKoq+Z6FFMCideM5oJJy9yWcBKmHDpmgZ+He00jnTL
 RJDqx+jcRQMN7lZ7kKAFm+NFy0NAuCsplgiqbzF8WvIwU3wnlESe1hgPy+Ycx0JbJacj
 MY1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712039261; x=1712644061;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=gBE1tZcyZtObJ0wn6c16poZDnkyBIaJwFh66cLiFdmU=;
 b=E3Hp1qrgpjsyugCG+0yUmnduDiucuvmBymmYLQA+Lh3BIof1hxqy4dpOj99RlnXOp9
 aX23ysChmna8UGP3HX7Xf6Q/SO8BtpWwmgrWsiEVjdpeUeSDi24f6ii2S347bFEafaYS
 3xRf0yhCHrQlkkzEpsZLu8JGbvmTtkaLlefSmKRbmtE5p7uC+qtKR7WxB9z5zhjl0ufy
 ChcU/lwKVh2oc5jNOTZcbZUlMoMwc9RLzXR3FkxhqGyF8poPIOjC8rKMwIm54l1bsRrW
 8Kt9uXOPcqFUodH3WANPCfTe+jIe2XIjjYLfZ/9wZEBDAPD41sG649GmaGQDO2mQfrmi
 SuVA==
X-Gm-Message-State: AOJu0YyH8VI7Bioyyp3koqeLfPq2NLkyjY4RNZ/6TRsdsE9/MXdskhN5
 i3cg9THz6PMqu8qAw0lb+QczJ2fiA/t6ES0w/N3tlFnPHk6Bp7O/nfitDJUQ
X-Google-Smtp-Source: AGHT+IH0rN48WeHlHlJChTNYkLuP6W7+smIGWWgATwfSuT/j8on7LOHVdoxFrY/3GvDIaC45yFqTkQ==
X-Received: by 2002:ad4:4b67:0:b0:696:b2bd:759f with SMTP id
 m7-20020ad44b67000000b00696b2bd759fmr9390635qvx.25.1712039261580; 
 Mon, 01 Apr 2024 23:27:41 -0700 (PDT)
Received: from localhost.localdomain (ool-18bb63f6.dyn.optonline.net.
 [24.187.99.246]) by smtp.gmail.com with ESMTPSA id
 kl15-20020a056214518f00b00690fd3f6e3esm5138263qvb.104.2024.04.01.23.26.28
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 01 Apr 2024 23:26:57 -0700 (PDT)
From: aurtzy <aurtzy@HIDDEN>
To: 70051 <at> debbugs.gnu.org
Subject: [PATCH] gnu: open-luks-device: Fix unbound variables.
Date: Tue,  2 Apr 2024 02:23:29 -0400
Message-ID: <6b8484d383512fe8f9c2bc65ff495395f6fa0abf.1712036470.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70051
Cc: aurtzy <aurtzy@HIDDEN>
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: -1.0 (-)

It seems like `use-modules' never actually worked due to the way it is eval'd
by the Shepherd, and was only apparent after a change that prevented other
module imports from leaking into the namespace.  This is fixed by using direct
references instead.

* gnu/system/mapped-devices.scm (open-luks-device): Use direct references for
variables from other modules.

Fixes: https://issues.guix.gnu.org/70051

Change-Id: I993798e161c4b4fca6e8a4f14eea5042b184ebc9
---

Hi!

I encountered this issue as well, and think I've figured out what was
happening: `use-modules' appears to not work due to the way g-expressions are
evaluated by Shepherd, so after services became properly isolated in their own
modules, the variable references became no longer available.  There's a
comment further down in the file that seems to confirm this ("XXX: We're not
at the top level here...").

Can anyone confirm this patch works for them too?

Cheers,

aurtzy

 gnu/system/mapped-devices.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/system/mapped-devices.scm b/gnu/system/mapped-devices.scm
index c19a818453..e46e2c7954 100644
--- a/gnu/system/mapped-devices.scm
+++ b/gnu/system/mapped-devices.scm
@@ -201,14 +201,12 @@ (define* (open-luks-device source targets #:key key-file)
        #~(let ((source #$(if (uuid? source)
                              (uuid-bytevector source)
                              source))
-               (keyfile #$key-file))
-           ;; XXX: 'use-modules' should be at the top level.
-           (use-modules (rnrs bytevectors) ;bytevector?
-                        ((gnu build file-systems)
-                         #:select (find-partition-by-luks-uuid
-                                   system*/tty))
-                        ((guix build utils) #:select (mkdir-p)))
-
+               (keyfile #$key-file)
+               (bytevector? (@ (rnrs bytevectors) bytevector?))
+               (find-partition-by-luks-uuid (@ (gnu build file-systems)
+                                               find-partition-by-luks-uuid))
+               (system*/tty (@ (gnu build file-systems) system*/tty))
+               (mkdir-p (@ (guix build utils) mkdir-p)))
            ;; Create '/run/cryptsetup/' if it does not exist, as device locking
            ;; is mandatory for LUKS2.
            (mkdir-p "/run/cryptsetup/")

base-commit: 6e2db85ca83528199a46b002d2592bd4bef017c8
-- 
2.41.0





Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 31 Mar 2024 00:56:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 30 20:56:26 2024
Received: from localhost ([127.0.0.1]:46369 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rqjUo-0001NZ-6p
	for submit <at> debbugs.gnu.org; Sat, 30 Mar 2024 20:56:26 -0400
Received: from sendmail.purelymail.com ([34.202.193.197]:52960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lilah@HIDDEN>) id 1rqjUj-0001NE-30
 for 70051 <at> debbugs.gnu.org; Sat, 30 Mar 2024 20:56:25 -0400
DKIM-Signature: a=rsa-sha256;
 b=lDXlGUAtp6rPPBd9qHbrpLYsB/0lECU+9xAJ0rvtGP0FSLL42SqOTIqZcJbVWHbHEP292FZrDFv4e4vNZWhCMaArLllzKSyERs2+eeGRYz6gR2s70ayNgNui8/a+xYsxUNDFoydrQGXhkfcH03lavFRgd8/irImxxSicyLiX5WJ2ywb+zeY1ph2dWX3J6Ossm6/Ezu7IwZnaR7uXG8jnCZzdRjdlUwpVlsWP5UDkOyUj+H3Q5sVOzuxuwV9UAdTjZidfSQhVgnijfuKfIGnsp6lmvdfOnIqoQ6uophBbiPrTOa/5UeqcyuJhtzcCiBJHnJUeykA3XPnGe6wRj7BoiA==;
 s=purelymail2; d=lunabee.space; v=1;
 bh=/rho09z5/JypXrWSSF12CWT+IRztihBXVRp1/4okzTc=; h=Received:Subject:From:To; 
DKIM-Signature: a=rsa-sha256;
 b=wziMk+BiJFWc78bxkluwyLCBO8XJZm0+ZUGZgJqhyRHuY5lhW/4NilZarylSSZGK1kUXRsF2W+J425JNtBX4tV/BQFEGliKUmU6p+bRE/DXFwzPFn5TKoUmemIGyvTsfIUxOTnnCdUKTtKnl8nEzk4qcN2TY+mvowf8cvOLeJE+2M55HrF9g5rB1Ro3V5kPe2EGxkmoK3Ho/+h2bc+lefuGTTZJCdL/OrQcDEVH41Az1LschTFOk7ulCypydG0Vlz5rrLkOZXwDjHd9x56ZJzsY03wCrgl7li+RnEWhc+6lLB8MAMONmF9wUZhzpX75LL5YZkLKmntIIMwqi+XglNw==;
 s=purelymail2; d=purelymail.com; v=1;
 bh=/rho09z5/JypXrWSSF12CWT+IRztihBXVRp1/4okzTc=;
 h=Feedback-ID:Received:Subject:From:To; 
Feedback-ID: 8937:2070:null:purelymail
X-Pm-Original-To: 70051 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1236972618; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sun, 31 Mar 2024 00:56:04 +0000 (UTC)
Message-ID: <ce06e57d3bdec2ec09810ae34849cb0750063afb.camel@HIDDEN>
Subject: same
From: Lilah Tascheter <lilah@HIDDEN>
To: 70051 <at> debbugs.gnu.org
Date: Sat, 30 Mar 2024 19:56:03 -0500
Organization: Dissociation for Heresiographal Computation
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4 
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 70051
Cc: Fulbert <fulbert@HIDDEN>, Remco van 't Veer <remco@HIDDEN>
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: -1.0 (-)

yep I got the same issue too. but, in my case, I have an encrypted root
with three other encrypted partitions, none of them my home. initrd
decryption succeeds, but shepherd device-mapper services fail as usual




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 30 Mar 2024 15:25:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 30 11:25:22 2024
Received: from localhost ([127.0.0.1]:46051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rqaaA-0006AP-Cd
	for submit <at> debbugs.gnu.org; Sat, 30 Mar 2024 11:25:22 -0400
Received: from fout7-smtp.messagingengine.com ([103.168.172.150]:40755)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1rqaa6-00069a-1D
 for 70051 <at> debbugs.gnu.org; Sat, 30 Mar 2024 11:25:20 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailfout.nyi.internal (Postfix) with ESMTP id E084613800D7;
 Sat, 30 Mar 2024 11:25:10 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Sat, 30 Mar 2024 11:25:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm1; t=1711812310;
 x=1711898710; bh=+AzE610tB1gO5/4GlkrE/yIMR+43XWGifVx5owVWfyk=; b=
 t6eXnhV4WdevM7ZFjyc0F1WjRu19dpogHmSOymOxlb+y3COsxIfiYHQOINaoAcXT
 z6zG1FE+h0PW4HnhmWXGNp1nQT356KN6Cz/KoOxljNDvhdUN+dOKHnwj+d7AOflC
 Xk2hch2t0tK+XjRlZLDhc88N3A9yO0cy7Wk4Itto+JDaBIJKpHMg4j/FxBqlLrS1
 0lmtDpQzPNJHBnD/IAMhb8nNowM+N/BogDpdw4uhDEEygzRi+iGHHtmbJH7mFIZc
 fKDhRv8p+1z8QZ+odOpQ2J9YvznHdAb3wztGU09DSh7MKXQMxNBwIjp5vVYAqjqn
 ndYwN+3kgzDTBBHoeHf7PQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711812310; x=
 1711898710; bh=+AzE610tB1gO5/4GlkrE/yIMR+43XWGifVx5owVWfyk=; b=V
 GW9C5wvTN7y/herGMzX9B11Jn8YilMdH4wHeOsqpABAikIbm5jwCaoExO/HbCTgJ
 Jy7Oxi54evfO32/IdmRxcVuwOEF9WIlBpiRHbsYOHYflUuOiMgO70ZTJAA3Rw5rI
 fubMibu1E2XyLZiLyjVqrcIQ3BAhF0xn2SB0UA5ea3bcBBv+qsMX8OWOKjBvGMvP
 /OcI0Yspro6GxtxOIW55guQNLUDao2YFWk5q9ibDfVngmSQ2Xn9xjW/Zrgpkel6n
 GWCoiWLV5Ks2pVKojbVqjOfWcBXbgg2PvMR507mwr7TuNwKRwo1ajpUjS7daKK4b
 J2LbQn6KBD0pSgNXsR5Yw==
X-ME-Sender: <xms:1i4IZtJ35PC050VpJPLPMLwhEup0y11JagyJLjJOmYjNRdlQGalHlQ>
 <xme:1i4IZpLMe66y4rmwOK95ri78_1Fodx288BU1VnDEzNSIDjOO3zcYucX14dMkkYETT
 AgnljDfu5JRpzd7GA>
X-ME-Received: <xmr:1i4IZlueea4IYZTI7DsWNnSVFLHRZETGpAGhpr2hFS9c9a_MCTIZu4t3gt1lpo1fFSKZXMV4v-wObVlD06CCsHiWUQ8yuyqYIgrOiVclSMw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddvhedgheegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpeftvghm
 tghouchvrghnucdkthcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqe
 enucggtffrrghtthgvrhhnpeduledvvdevfeeivedtleeftedvgffftefffedttefffeel
 hedtleeiffeuffetgfenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvghmtghosehrvghmfihorhhk
 shdrnhgvth
X-ME-Proxy: <xmx:1i4IZuaa1bhPJ8SZx1hnw-33PuJmFTKBzFc4Z37UcfobRojSjfi_dA>
 <xmx:1i4IZkZcaRi801ALg2Po-3WZXSfmpKvxqKoxu8PgIlwcJrCycKW6XQ>
 <xmx:1i4IZiDKMVNpphEm9C_1VoxZTwz1V8Xigm_5QZ9F4iC1kTA_7Ds-Pg>
 <xmx:1i4IZiZh6a9VLF3GlOaZ3qfxVtkndO8g-FKxcs8ZfYbTKxmjRbB-Ww>
 <xmx:1i4IZpN1h6lNVXZGxZp4P5k1Rgl_i4NY4LA7nX7d2k2gV6oI9EEEmw>
Feedback-ID: if0694934:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 30 Mar 2024 11:25:09 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
To: Fulbert <fulbert@HIDDEN>
Subject: Re: system hangs at boot - LUKS /home/ problem(?)
In-Reply-To: <0c0c29f6-9aba-9bd5-e118-68c99e22d1ad@HIDDEN>
 (fulbert@HIDDEN's message of "Thu, 28 Mar 2024 12:34:09 +0100")
References: <ZgLmn5UZEroLZ0Wi@HIDDEN>
 <fb053096-0b0b-cda9-6799-73155a2bff58@HIDDEN>
 <932f7bd19906eee52f0f85f9915e283e4d57b1c9.camel@HIDDEN>
 <ZgVIVOrLvgh3n4x-@bluewin.ch>
 <0c0c29f6-9aba-9bd5-e118-68c99e22d1ad@HIDDEN>
User-Agent: mu4e 1.12.2; emacs 29.1
Date: Sat, 30 Mar 2024 16:25:07 +0100
Message-ID: <87v853214c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70051
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, help-guix@HIDDEN,
 Adrien 'neox' Bourmault <neox@HIDDEN>, 70051 <at> debbugs.gnu.org
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: -1.7 (-)

Hi,

Confirmed on a couple of my installs.  I too have an unencrypted root
and encrypted home filesystems.  The passphrase prompt never appears and
the system seems to be waiting for something or is halted.

I've git bisected it down to:

  commit 6f9d844d2ece7b369d17bbe678978462425f869c (HEAD)
  Author: Ludovic Court=C3=A8s <ludo@HIDDEN>
  Date:   Wed Mar 20 18:48:38 2024 +0100

    services: shepherd: Load each service file in a fresh module.

    Fixes <https://issues.guix.gnu.org/67649>.

    * gnu/home/services/shepherd.scm (home-shepherd-configuration-file)[con=
fig]:
    Define =E2=80=98make-user-module=E2=80=99.  Call =E2=80=98load=E2=80=99=
 in =E2=80=98save-module-excursion=E2=80=99.
    * gnu/services/shepherd.scm (shepherd-configuration-file): Likewise.

Commit 2b052fe3c0fa85e9faa8873a581568ad4c78e151 still works.

Cheers,
Remco




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 28 Mar 2024 11:57:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 07:57:33 2024
Received: from localhost ([127.0.0.1]:39265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpoNx-00015g-LY
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:57:33 -0400
Received: from vimdzmsp-sfwd06.bluewin.ch ([195.186.227.133]:52200)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fulbert@HIDDEN>) id 1rpoNt-00014U-7B
 for 70051 <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:57:33 -0400
Received: from bluewin.ch ([213.55.245.153])
 by vimdzmsp-sfwd06.bluewin.ch Swisscom AG with ESMTPA
 id poNlrl9Wocv8apoNmrbWJo; Thu, 28 Mar 2024 12:57:22 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluewin.ch;
 s=fxzs-2048-20230414; t=1711627042;
 bh=W5yUjcQ/Y1HqOaxFP+ZdamxDdONko1ZdY+pr4003GNA=;
 h=Date:From:To:Subject:Message-ID:MIME-Version;
 b=P1w2qsuKTkHMAiKyDDF6NTubohQFlthBEP2Q8EX+31Kwi5ebj4UPUmaInIKVLU5OE
 CHgfX5StYdGzQFnUfmZF+7iix8ZP/17cMFqtvpdXB+MqzCuXMPhzImQaWW1PkeTcKj
 8LskwsXT/nz0fyBMbJRRpTtqk7mCFmmBLFPYnOyRnyTQfWhrpkUJF87uk6rrdVXhp1
 03PRNRZmXn11vFZE1Nv0k1Yfmd411hV05FYjVuo2MhnvozWSMBt+MWj2gwRIyl1dsw
 Ze/Y/K41gzMWqtztDlkOY8XBGMD2dljI0wzm7+NGUK4+5naeYIiutK3U/ACoOjoLwM
 Pocz4GngDQe5Q==
X-Bluewin-Spam-Analysis: v=2.4 cv=eMiwj2p1 c=1 sm=1 tr=0 ts=66055b22
 a=/U1+rXC3EtFQ66MXwmYm5g==:117 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8
 a=U8-_CXH-LiIWX9YOOb8A:9 a=QEXdDO2ut3YA:10 a=RbEVPB9HoncA:10
 a=_FVE-zBwftR9WsbkzFJk:22
X-Bluewin-Spam-Score: 0.00
X-FXIT-IP: IPv4[213.55.245.153] Epoch[1711627042]
X-Bluewin-AuthAs: fulbert@HIDDEN
Date: Thu, 28 Mar 2024 12:57:21 +0100
From: Fulbert <fulbert@HIDDEN>
To: 70051 <at> debbugs.gnu.org
Subject: bug#70051
Message-ID: <ZgVbIYnUENvd-qz4@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-CMAE-Envelope: MS4xfIYPnbE1TA+1obhyTeXD/LxgpwRt/vvu7GPOeMeT/YMNQ4e3TTF5IWvo2i04FXe8mA4mDuw1uRDtVv/zYVYrfddwvltTMxygv5ouapPavtnPI2D3CQF8
 yxDbtfLTsXZYynO/8krAa5HsjDY7c/AsbNrncO9yCbNHoE4GgeHzxpUd7K3zINtdjCDAaRUrSzWOoA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70051
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: -1.7 (-)

And I also forgot to mention *sigh* that I am not the only one affected
by this problem. See : https://lists.gnu.org/archive/html/help-guix/2024-03/msg00152.html




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at 70051 <at> debbugs.gnu.org:


Received: (at 70051) by debbugs.gnu.org; 28 Mar 2024 11:49:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 07:49:15 2024
Received: from localhost ([127.0.0.1]:39233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpoFu-0000PX-Vu
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:49:15 -0400
Received: from vimdzmsp-sfwd01.bluewin.ch ([195.186.120.131]:55788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fulbert@HIDDEN>) id 1rpoFr-0000Oo-Eq
 for 70051 <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:49:13 -0400
Received: from bluewin.ch ([213.55.245.153])
 by vimdzmsp-sfwd01.bluewin.ch Swisscom AG with ESMTPA
 id poFirnvIA5COZpoFjroirv; Thu, 28 Mar 2024 12:49:04 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluewin.ch;
 s=fxzs-2048-20230414; t=1711626544;
 bh=WTb0u7E9wbt0XVjAE66FH0fAkb8RbJDVdEIrlXaRX/Y=;
 h=Date:From:To:Subject:Message-ID:MIME-Version;
 b=cTR0uwNgpOBo+dcrtOsXofcrqsX5nk5piBseJmXiRo3UJAB44WmCaWINZOV0CL6ji
 tsZIeFsev6SVFLEWimHW5hUKdUzzfzkOQGH7yuuadjDF6hZJdk9Ad0RIe3A9tM3QIA
 B6S8tC80APNA40Q3WAy4WPraNozsnDCM9ijwwRwMnGa4ek3wR2LCAbBYtuj5pQUa4L
 o6grRHjPAXD6y7xqxbnTNcGj6/yTs1AZlFELQ8BIeXMTIbI9uvPhTb1zjx64sf9u47
 kuyMx+4hv0fQyi2YWVTgv0eLtr2z7cXQZ/d9KrLM/htOKgB+qO3n9Now68DeB8MDzF
 0UGU7UYiQSUtg==
X-Bluewin-Spam-Analysis: v=2.4 cv=bY7IU/PB c=1 sm=1 tr=0 ts=66055930
 a=/U1+rXC3EtFQ66MXwmYm5g==:117 a=IkcTkHD0fZMA:10 a=Z4BcAn8hzvFM1tLR0SIA:9
 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10
X-Bluewin-Spam-Score: 0.00
X-FXIT-IP: IPv4[213.55.245.153] Epoch[1711626544]
X-Bluewin-AuthAs: fulbert@HIDDEN
Date: Thu, 28 Mar 2024 12:49:02 +0100
From: Fulbert <fulbert@HIDDEN>
To: 70051 <at> debbugs.gnu.org
Subject: bug#70051
Message-ID: <ZgVZLnoaTNJr4AiT@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4xfBYoehqdz6kQWg9RMKg509Pr0w/G8Jt9dpsGyPRLPzjLdSgRMU3N2oWrZ1YHVXHYY4kShZCDE7oFsy4uqNMdUbRDdp7DVhHpm6+gRe9Iyu4/QIpUBq5E
 Lzh13X5SVjM4kGPyrloAyX9wLsDXRCRmsNGZwxbj95LKZDmVJ+lHNgCLisFpRIE0W/uhAUYb1FNc0Q==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70051
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: -1.7 (-)


… And I forgot to mention that, when the boot hangs, shepherd still responds to ctrl-alt-del by closing some services and then the system hangs with hardware button shutdown as last resort.




Information forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 11:25:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 07:25:18 2024
Received: from localhost ([127.0.0.1]:39205 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpnsk-00043L-HR
	for submit <at> 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 <fulbert@HIDDEN>) id 1rpnsi-00042J-QF
 for submit <at> 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 <fulbert@HIDDEN>)
 id 1rpnsY-0002KP-Ai
 for bug-guix@HIDDEN; 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 <fulbert@HIDDEN>)
 id 1rpnsV-0006IP-MJ
 for bug-guix@HIDDEN; 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@HIDDEN
Date: Thu, 28 Mar 2024 12:24:57 +0100
From: Fulbert <fulbert@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix system hangs on boot with LUKS /home partition
Message-ID: <ZgVTiUVfDlM20s8K@HIDDEN>
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@HIDDEN;
 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
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 (/)

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 "<the 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 !




Acknowledgement sent to Fulbert <fulbert@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70051; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 8 Apr 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.