Bug#397651: [Pkg-cryptsetup-devel] Bug#397651: cryptsetup: failed to
determine cipher modules to load for /dev/mapper/bee--sata-root
David Härdeman
david at hardeman.nu
Wed Nov 8 23:31:40 CET 2006
On Wed, Nov 08, 2006 at 10:33:22PM +0100, Loïc Minier wrote:
>On Wed, Nov 08, 2006, David Härdeman wrote:
>> Would you be willing to test the attached patch? It should solve both
>> bugs you reported today.
>
> I read the patch, and I believe it resolves the issues. I wonder why
> you prefer ignoring all errors returned by get_lvm_deps instead of
> silencing the correct one as I proposed in my patch, but eh it's your
> code.
The original intention was that it'd return 1 if no deps were found and
zero otherwise. I just realised though that it'll also list a node as
dependent if someone would have a non-crypt-dm ontop of non-crypt-dm
(which would be a quite bizarre setup).
So I've applied your patch with some minor changes to also check that
the deps are actually dm-crypt devices.
Thanks for the help.
--
David Härdeman
More information about the Pkg-cryptsetup-devel
mailing list