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

David Härdeman david at hardeman.nu
Wed Oct 17 06:50:30 UTC 2007


On Tue, October 16, 2007 20:16, Dick Middleton wrote:
> Jonas Meurer wrote:
>> I prepared cryptsetup packages with the proposed patch applied. could
>> you give them a try?
>>
>> you can find them at http://people.debian.org/~mejo/cryptsetup/
>
> I tried that;  It works for me!  Well ... er, I tried 4 times and rebuilt
> initrd
> which also worked properly.  I noticed the passphrase prompt also comes
> out
> after the USB messages - is that something else you changed or was I just
> lucky?

Can't check now but I seem to recall that the initramfs scripts also run
udevsettle now to give the device detection a chance to calm down. In the
future the kernel will get capabilities to allow udev to know when it is
done probing hardware (I think you could search LKML for "scsi_wait" if
you're interested).

> I'll try it a bit more determinedly later but the initial signs are good.

That's good to hear.

Jonas, the race condition still remains in libdevmapper, this fix works
around it for cryptsetup so it still needs to be fixed in libdevmapper. I
say we reassign this bug, keep an eye on it and remove the Novell patch
once libdevmapper is fixed. Do you agree?

-- 
David Härdeman






More information about the Pkg-cryptsetup-devel mailing list