GNU bug report logs -
#20791
GuixSD: cryptsetup luksFormat hangs when udevd is running
Previous Next
Reported by: Benz Schenk <benz.schenk <at> uzh.ch>
Date: Thu, 11 Jun 2015 23:42:02 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20791 in the body.
You can then email your comments to 20791 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#20791
; Package
guix
.
(Thu, 11 Jun 2015 23:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Benz Schenk <benz.schenk <at> uzh.ch>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 11 Jun 2015 23:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Setting up luks encrypted partitions with cryptsetup doesn't work when udevd is running.
cryptsetup luksFormat got stuck waiting on some semaphore to turn to zero
According to http://www.saout.de/pipermail/dm-crypt/2013-November/003619.html this is a udev issue, so i killed udevd and after that it worked
I assume it's some configuration issue with udev, but I don't really know enough about this stuff to pinpoint where exactly the problem lies
I'm using the GuixSD 0.8.2 image, if you need any more information about my setup, feel free to ask
Benz
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Fri, 12 Jun 2015 17:34:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Benz Schenk <benz.schenk <at> uzh.ch>
:
bug acknowledged by developer.
(Fri, 12 Jun 2015 17:34:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 20791-done <at> debbugs.gnu.org (full text, mbox):
Benz Schenk <benz.schenk <at> uzh.ch> skribis:
> Setting up luks encrypted partitions with cryptsetup doesn't work when udevd is running.
>
> cryptsetup luksFormat got stuck waiting on some semaphore to turn to zero
>
> According to http://www.saout.de/pipermail/dm-crypt/2013-November/003619.html this is a udev issue, so i killed udevd and after that it worked
>
> I assume it's some configuration issue with udev, but I don't really know enough about this stuff to pinpoint where exactly the problem lies
Indeed, we were missing the udev rules for device-mapper. Commit
e1ad6bf fixes that (tested in a VM as produced as by ‘guix system vm
gnu/system/install.scm’.)
If you have a working Guix installation, you can try rebuilding the
image by yourself from a checkout of Guix master, with something like:
guix system disk-image --image-size=850MiB gnu/system/install.scm
Alternately, as a workaround, you could to the installation in two
steps:
1. Install without encrypted devices.
2. Boot the installed system and run ‘cryptsetup luksFormat’.
3. Run ‘guix system reconfigure’ with the configuration that you want.
Thank you!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 11 Jul 2015 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.