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

Dick Middleton dick at lingbrae.com
Mon Nov 19 10:21:26 UTC 2007


Jonas,

>> 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.

> in that case i have no problems with lowering the timeout of 30 seconds or
> something like that.

I was thinking something more like 5 or even just 1.  However as I think the 
udevsettle is waiting for itself to complete I've tried spawning the cryptsetup 
in my script in a separate shell so it runs asynchronously allowing the run rule 
script to complete.

It seems to work - I'm not sure what problems might appear!

So that's my particular problem solved but obviously running udevsettle from 
within a program is problematic.

Dick





More information about the Pkg-cryptsetup-devel mailing list