Duh, I don't know what I thought with previous device nodes waiting patch, it's of course broken, and to prevent waiting in LVM script for the devices (that's why it worked for me), we need to actually run before lvm anyway, as was previously told.
So, This patch includes following changes to local-top/cryptroot: - Load the script before lvm script, since it's doing lvm setup itself for encrypted LVMs (already reported previously) - Create the symlinks for vgchange and pvscan (done by lvm script, this is why the script said 'failed to activate lvm' for some people when run before lvm script - lvm script activated them itself, that's why it eventually worked anyway) - Wait for the raw partition (now in correct place and with timeout inside loop, unlike my broken attempted patch earlier) - Wait for LVM device similarly instead of just calling vgchange -ay - this is not usually needed but there's no reason to do this right anyway ** Attachment added: "Patch for lvm support in ramdisk cryptroot script" http://librarian.launchpad.net/5404010/initramfs-cryptroot-script.patch -- Support for encrypted root filesystem (cryptsetup) https://launchpad.net/bugs/21878 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
