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

Dick Middleton dick at lingbrae.com
Wed Nov 21 13:40:19 UTC 2007


Jonas Meurer wrote:
> On 19/11/2007 Dick Middleton wrote:
>>>> I suspect that udevsettle is the one you added to cryptsetup.  Maybe a 
>>>> timeout would fix this?
>>> udevsettle indeed supports a --timeout= option, and this would
>>> workaround your delay.
>>> maybe the reason for your 3 minutes delay is that udevsettle has a builtin
>>> timeout of 3 minutes. 
>> That was my assumption.
> 
> Do you have any evidence?

I looked at the source -  udevsettle has a default timeout of 180s.

I checked that udevsettle as the only function in a run program causes 
the deadlock hangup.

Here's a suggested text for documentation somewhere:

"If cryptsetup is to be included in a run program as part of a udev rule 
then it should be detached so it runs asynchronously.  cryptsetup may 
otherwise hang waiting on udevsettle."

I think that's the end of that.  Thanks for all your help.

Dick









More information about the Pkg-cryptsetup-devel mailing list