This hook patch is needed to run backported kernels on Hardy systems with root-in-lvm and partitionless PVs because Ubuntu kernels after 2.6.24 need "sysfs_scan = 0" set in the lvm.conf file. Without it, a Hardy system can hang at the "waiting for root file system" boot message.
The change that was applied to the Karmic package also applies to the older lvm2-2.02.26-1ubuntu9 package that is in Hardy. I've got it in a PPA here: https://launchpad.net/~dajhorn/+archive/hardy-backports -- initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't https://bugs.launchpad.net/bugs/246324 You received this bug notification because you are a member of Ubuntu High Availability Team, which is subscribed to drbd8 in ubuntu. Status in “drbd8” package in Ubuntu: Invalid Status in “initramfs-tools” package in Ubuntu: Invalid Status in “lvm2” package in Ubuntu: Fix Released Bug description: Binary package hint: initramfs-tools The default initramfs-tools hookscript for lvm does not include /etc/lvm/lvm.conf. If you need to exclude some devices through lvm.conf filters, like if you are using lvm on top of drbd, the base devices get claimed while executing the initrd and drbd etc. will fail. Fix: Include these lines in /usr/share/initramfs-tools/hooks/lvm2: mkdir -p ${DESTDIR}/etc/lvm cp -p /etc/lvm/lvm.conf ${DESTDIR}/etc/lvm/lvm.conf Ubuntu Version: Hardy (8.04) _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-ha Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp

