[Pkg-cryptsetup-devel] Bug#444914: temporary-cryptsetup-$$ files appear in /dev/mapper

Dick Middleton dick at lingbrae.com
Wed Nov 21 14:34:20 UTC 2007


Jonas,


> great. I enhanced the documentation in README.Debian, but as i'm not a
> native english speaker, I hereby ask you to proofread the text ;-)
> 
> Cryptsetup and udev
> -------------------
> 
>  As a workaround for some yet-to-be-fixed race condition in kernel,
> device-mapper or udev, cryptsetup currently runs udevsettle.
> 
>  This leads to problems if you invoke cryptsetup as part of a udev role.

rule (not role).

> udevsettle waits until queued kernel/udev events are processed and the
> 'run programs' have finished. Due to cryptsetup itself being a 'run
> programm' in this case, this ends in a deadlock.

program not programm.

> 
>  Therefore cryptsetup should be detached directly after invokation, so

invocation rather than invokation.

> that it runs asynchronously.

Yup,  that's good - it's enough.

Dick






More information about the Pkg-cryptsetup-devel mailing list