GNU bug report logs - #70266
Failure to open LUKS devices from a Shepherd service

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: Ludovic Courtès <ludo@HIDDEN>; merged with #70051; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 70266-done) by debbugs.gnu.org; 8 Apr 2024 12:19:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 08:19:27 2024
Received: from localhost ([127.0.0.1]:45516 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtnyB-0003tJ-C3
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 08:19:27 -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: 70266-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.




Information forwarded to bug-guix@HIDDEN:
bug#70266; Package guix. 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 70266 <at> debbugs.gnu.org:


Received: (at 70266) 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]:45034 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-0003Pt-8q
	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: 70266
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#70266; Package guix. Full text available.

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


Received: (at 70266) 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]:45000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtcB0-00054t-CX
	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: 70266
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#70266; 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 70266 <at> debbugs.gnu.org:


Received: (at 70266) by debbugs.gnu.org; 7 Apr 2024 22:19:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 18:19:44 2024
Received: from localhost ([127.0.0.1]:44957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtarW-0003eB-Lj
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 18:19:44 -0400
Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:43298)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aurtzy@HIDDEN>) id 1rtarU-0003dM-Ny
 for 70266 <at> debbugs.gnu.org; Sun, 07 Apr 2024 18:19:41 -0400
Received: by mail-qk1-x734.google.com with SMTP id
 af79cd13be357-78d6718bcb1so12723685a.1
 for <70266 <at> debbugs.gnu.org>; Sun, 07 Apr 2024 15:19:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712528367; x=1713133167; darn=debbugs.gnu.org;
 h=content-transfer-encoding:subject:from:cc:to:content-language
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=A0n/DSQRUqc7Mx0ppdxh+81SdiAYGD94OcSkuVUc6Bw=;
 b=jAcNgHFfhhZSd0C08C5bYY5LdlUUAgiITgXwoaOAMAODWLy3CwgG/B4Zwe+qMyn4v9
 uu1J2cEXSchEsCiG18l7bNfAH4w37jUVSaQobnN/73EYYJwFrAkCunl7Ggzzk+1vyRJy
 kMA3fss+WleI4ydCxJgLFK8Ycubq5EOFsPxBqUlx9ZBWYCtmfCOssHYyXu+qBEh7Gvvi
 4G4QJ8iWl5MwR46D06bT8ap4aIm5kfNmlmpYMmy0CpqSnu794nlgfiBm0d6t1ib9rJkF
 z1rx8/9eZr6YdaW9nMZKNoTPMyD6TUVY1Cgp6+FxLBHnd7bBaYI3BFUgxcVIViC/sKAt
 Trpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712528367; x=1713133167;
 h=content-transfer-encoding:subject:from:cc:to:content-language
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=A0n/DSQRUqc7Mx0ppdxh+81SdiAYGD94OcSkuVUc6Bw=;
 b=eQy5z3yY6nF3FHa6p/+MZtCNC2THfzu/BitAQubuxHI+I6hpZw6J4WGgaSvJJm72Fx
 VmQMCLAADgNU/ikDqGrnPRFlUwf2Ffwqsff5WKnhwdQ63ekCf0z0bghHsCBS0Km0jN57
 SihUBY3Ig4KeSzPrYCIrIhsyj5IXhFJMHEqWNi2omMRHs18HeIKDCSB4KxaQOvh7mlD1
 k7xHc8BxKaYDMoOCJSUmLyIomhlUjB8uWbAph70M79rL/9WZjxQQGJiDxe+LY1s5fz1O
 iHmy6oZWO9gcOr+tvNPCZZQnLZ3j/Cv7EtyrUSEWAVREtZsl3dyKeHvUv2a+WOWmbyla
 WH7Q==
X-Gm-Message-State: AOJu0Yys+1QEjki5R9MVx7D2WY+0SUNRrX+4Sp+5ia4PsTU+sebpJjqk
 GlGKhqCydJQDOEq7Uc7fDboqueVz+Ixej7xFly0KdSQE7gW5x8ZquCJZF9ZE
X-Google-Smtp-Source: AGHT+IEdQgBtmrmRrpBcDdZWFfAE8JejmNTjHyKTQ22AFL5sTvybtIwQV2Jr8E7JduqGJVrG5w0Beg==
X-Received: by 2002:a05:620a:f02:b0:78b:c4ca:d6e4 with SMTP id
 v2-20020a05620a0f0200b0078bc4cad6e4mr14683913qkl.9.1712528367088; 
 Sun, 07 Apr 2024 15:19:27 -0700 (PDT)
Received: from [192.168.1.87] (ool-18bb63f6.dyn.optonline.net. [24.187.99.246])
 by smtp.gmail.com with ESMTPSA id
 os42-20020a05620a812a00b0078be094e0ebsm2572759qkn.122.2024.04.07.15.19.26
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 07 Apr 2024 15:19:26 -0700 (PDT)
Message-ID: <e61584a0-842a-46b3-b3fd-265b2444b59d@HIDDEN>
Date: Sun, 7 Apr 2024 18:19:25 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: 70266 <at> debbugs.gnu.org
From: aurtzy <aurtzy@HIDDEN>
Subject: Re: Failure to open LUKS devices from a Shepherd service
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70266
Cc: ludo@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 (-)

Hi Ludo',

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

Cheers,

aurtzy





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

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


Received: (at 70266) by debbugs.gnu.org; 7 Apr 2024 21:54:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 17:54:49 2024
Received: from localhost ([127.0.0.1]:44921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtaTR-0001cL-9v
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 17:54:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1rtaTN-0001bI-Pj
 for 70266 <at> debbugs.gnu.org; Sun, 07 Apr 2024 17:54:47 -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 1rtaTB-0000YY-EP
 for 70266 <at> debbugs.gnu.org; Sun, 07 Apr 2024 17:54:33 -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=O3iVuNcKT+rQwXuYQznH+C4GbkDVgyZ4aTaHr4/QgcM=; b=eHs6MECmblnnApoxfnRj
 nsgW+4VkYpuhCqyPfpB0ja4FS/2iXsBrP/cmM14nSfLk+y+OJBsOazWeT78sFK6Nw4lVWix+5V72x
 EWqMd+k8JlHZdrzXG8EMsmlB/jhfP3fDjANpcGxAtBq71BZiyb85/+ZbAQW9KvIviWqMp5voaqJ34
 V/gia3ByV2wd6H2RPLfrLU82oEI+vr7xvd2OEWFcZcfCTBs95F/+31iQGVPJ0yNK9BJRQLICyoq4y
 ljFby46QsbApMIfriDjwZ7hiRMLEBElCQK9LIbuehc+85a76zajAijFcbbqWdzMKzjOarIwKuXJWt
 BSiCa/nKzI6Wwg==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 70266 <at> debbugs.gnu.org
Subject: Re: bug#70266: Failure to open LUKS devices from a Shepherd service
In-Reply-To: <87h6gcoo85.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Sun, 07 Apr 2024 23:30:02 +0200")
References: <87h6gcoo85.fsf@HIDDEN>
Date: Sun, 07 Apr 2024 23:54:30 +0200
Message-ID: <87cyr0on3d.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: 70266
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 (---)

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> Commit 6f9d844d2ece7b369d17bbe678978462425f869c led to a regression:
> when a =E2=80=98luks-device-mapping=E2=80=99 mapped device is opened from=
 a Shepherd
> service (for instance a =E2=80=98device-mapping-XXX=E2=80=99 service crea=
ted by
> =E2=80=98device-mapping-service-type=E2=80=99 because, say, /home is a se=
parate LUKS
> partition), said service fails to start with:
>
>   Unbound variable: bytevector?
>
> This is the =E2=80=98bytevector?=E2=80=99 referred to in =E2=80=98open-lu=
ks-device=E2=80=99.

This is a situation with a non-top-level =E2=80=98use-modules=E2=80=99.

The problem can be illustrated like this:

--8<---------------cut here---------------start------------->8---
$ cat ~/src/guile-debugging/non-top-level-use-modules.scm
;; (define-module (xxxx))

(define (foo x)
  (use-modules (rnrs bytevectors))  ;bad!!
  (bytevector? x))

;; (pk '-> (foo (call-with-input-string "#vu8(1 2 3)" read)))

(pk 'foo foo)

$ guild compile -O1 ~/src/guile-debugging/non-top-level-use-modules.scm=20
/home/ludo/src/guile-debugging/non-top-level-use-modules.scm:3:3: warning: =
possibly unbound variable `bytevector?'
wrote `/home/ludo/.cache/guile/ccache/3.0-LE-8-4.7/home/ludo/src/guile-debu=
gging/non-top-level-use-modules.scm.go'
$ guile
GNU Guile 3.0.99-git
Copyright (C) 1995-2024 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,m(sdf)
scheme@(sdf)> ,use(guile)
scheme@(sdf)> (load-compiled "/home/ludo/.cache/guile/ccache/3.0-LE-8-4.7/h=
ome/ludo/src/guile-debugging/non-top-level-use-modules.scm.go")

;;; (foo #<procedure foo (x)>)
$1 =3D #<procedure foo (x)>
scheme@(sdf)> ,m(guile-user)
scheme@(guile-user)> ($1 123)
;;; <stdin>:7:1: warning: possibly unbound variable `$1'
ice-9/boot-9.scm:1676:22: In procedure raise-exception:
Unbound variable: bytevector?

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to contin
--8<---------------cut here---------------end--------------->8---

=E2=80=98use-modules=E2=80=99, when used this way, loads the specified modu=
les in
(current-module) at that point (at run time).  If you change what the
current module is, as I did above, then it breaks.

Ludo=E2=80=99.




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

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


Received: (at submit) by debbugs.gnu.org; 7 Apr 2024 21:30:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 17:30:26 2024
Received: from localhost ([127.0.0.1]:44899 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rta5q-00080V-Ft
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 17:30:26 -0400
Received: from lists.gnu.org ([2001:470:142::17]:42904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1rta5o-00080H-Mg
 for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 17:30:25 -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 <ludo@HIDDEN>) id 1rta5Y-0000sd-GO
 for bug-guix@HIDDEN; Sun, 07 Apr 2024 17:30:08 -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 1rta5Y-0005O4-6y
 for bug-guix@HIDDEN; Sun, 07 Apr 2024 17:30:08 -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:Subject:To:From:in-reply-to:
 references; bh=HJlQGvnhzMgFYcyIOZTwzQHehx099aOvaPG5ZJx0670=; b=N5q2KHVqeJ9fUg
 X4s8eYOX/saaqCAFuT+o9CboCqmL1r39wBfEpiZYjS/CjOe0G6YXXWvY6F3BzqGGXcHp6qv38/bJQ
 6lcEm+eS8+hXmD7FTy1ESzaH+4+VC3ZbLPFiv5WyIJniftBBw/RHZ2tnvOrTav8n+c8VN0mvZwPBc
 PwUnBv7B3npbEWqyRsDgm+TU8s7X45UhZ47Zg4wNeMtm+d7AT1HUfuZHofHPnxEUnkVSRefwuziGk
 D1zFAY5CB2+dKQRIhsur5K7/OdDMK+aYnzA1E9nq5ngahMVeQE6ybO62+Xa6IIx+mKn56Z0PZAkOK
 OsmsCfgGr/LJxvuavZLQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Failure to open LUKS devices from a Shepherd service
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Nonidi 19 Germinal an 232 de la =?utf-8?Q?R=C3=A9vol?=
 =?utf-8?Q?ution=2C?= jour du Radis
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 07 Apr 2024 23:30:02 +0200
Message-ID: <87h6gcoo85.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: -0.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: -1.0 (-)

Hello,

Commit 6f9d844d2ece7b369d17bbe678978462425f869c led to a regression:
when a =E2=80=98luks-device-mapping=E2=80=99 mapped device is opened from a=
 Shepherd
service (for instance a =E2=80=98device-mapping-XXX=E2=80=99 service create=
d by
=E2=80=98device-mapping-service-type=E2=80=99 because, say, /home is a sepa=
rate LUKS
partition), said service fails to start with:

  Unbound variable: bytevector?

This is the =E2=80=98bytevector?=E2=80=99 referred to in =E2=80=98open-luks=
-device=E2=80=99.

As a result, the system just hangs at boot time because that
=E2=80=98device-mapping-XXX=E2=80=99 service fails to start.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70266; 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.