hey Harald, On 28/06/2010 Harald Braumann wrote: > This bug also hits, if a source device name of the form /dev/<vg>/<lv> is used > in /etc/crypttab. The hook script fails to properly map this to > /dev/mapper/<vg>-<lv> > > The reason is, that dmsetup changed the way links are set up in /dev. > Formerly, > files in /dev/<vg>/ (or /dev/disk/by-uuid) where links to device files in > /dev/mapper/. Now they are links to /dev/dm-*. > > The solution is simple, and actually already there in the function > `canonical_device'. I've just copied that part to `get_device_opts'. Patch > appended.
cryptsetup svn trunk should have fixed this bug in a different way. canonical_device is now invoked both in get_root_device() and get_resume_devices(). could you verify that the new package fixes this bug for you? you can find preliminary packages at http://people.debian.org/~mejo/cryptsetup/ please give this package a try and report back whether this fixes the bug for you. greetings, jonas
signature.asc
Description: Digital signature