* bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running
@ 2015-06-11 22:52 Benz Schenk
2015-06-12 17:33 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Benz Schenk @ 2015-06-11 22:52 UTC (permalink / raw)
To: 20791
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running
2015-06-11 22:52 bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running Benz Schenk
@ 2015-06-12 17:33 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-06-12 17:33 UTC (permalink / raw)
To: Benz Schenk; +Cc: 20791-done
Benz Schenk <benz.schenk@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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-12 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-11 22:52 bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running Benz Schenk
2015-06-12 17:33 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).