GNU bug report logs -
#70051
guix system hangs on boot with LUKS /home partition
Previous Next
Reported by: Fulbert <fulbert <at> bluewin.ch>
Date: Thu, 28 Mar 2024 11:26:01 UTC
Severity: important
Merged with 70266
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#70051: Failure to open LUKS devices from a Shepherd service
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 70266 <at> debbugs.gnu.org.
--
70051: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70051
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
aurtzy <aurtzy <at> gmail.com> skribis:
> 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!
Awesome, thanks for confirming, and apologies for introducing this
regression in the first place!
Ludo’.
[Message part 3 (message/rfc822, inline)]
Hello,
Commit 6f9d844d2ece7b369d17bbe678978462425f869c led to a regression:
when a ‘luks-device-mapping’ mapped device is opened from a Shepherd
service (for instance a ‘device-mapping-XXX’ service created by
‘device-mapping-service-type’ because, say, /home is a separate LUKS
partition), said service fails to start with:
Unbound variable: bytevector?
This is the ‘bytevector?’ referred to in ‘open-luks-device’.
As a result, the system just hangs at boot time because that
‘device-mapping-XXX’ service fails to start.
Ludo’.
This bug report was last modified 1 year and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.