[Pkg-cryptsetup-devel] Bug#488842: Bug#488842: no integration with lvm in initramfs

David Härdeman david at hardeman.nu
Tue Jul 1 18:08:05 UTC 2008


On Tue, Jul 01, 2008 at 05:27:57PM +0200, martin f krafft wrote:
>As a result, the LVM hook, which somehow knows about vg0 and tries
>to activate it, fails and prints something like
>
>  lvm: Failed: volume group `vg0' not found
>
>to the console just before the password prompt. This is ugly and
>confusing.
>
>After decryption, cryptroot now does the LVM stuff itself, which is
>also ugly and error-prone.
>
>Please integrate better with the lvm hook and let it take care of
>LVM-related stuff when the time is ripe. Don't do LVM stuff from the
>cryptroot hook.

We need to support both crypt-on-LVM and LVM-on-crypt situation which is 
why the scripts behave the way they do right now. Patches are very 
welcome if you have a better solution...

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list