Package: lvm2 Version: 2.02.176-4 Severity: normal On the Grml live system we're removing /lib/udev/rules.d/69-lvm-metad.rules by intention to avoid unrequested LVM scanning by default.
When generating the initramfs it fails with just: | E: /usr/share/initramfs-tools/hooks/lvm2 failed with return 1. and without any hint why this actually failed. Would be good to have at least: echo "Error: neither /etc/udev/rules.d/$rules nor /lib/udev/rules.d/$rules found." >&2 in /usr/share/initramfs-tools/hooks/lvm2 before the "exit 1". Speaking of which, are the udev rules strictly needed though? Wouldn't it be an option to just warn about it and not "exit 1"? PS: I would have provided this as a patch, but https://anonscm.debian.org/cgit/pkg-lvm/old/lvm2.git/ doesn't provide the source for the version we currently have in Debian and https://anonscm.debian.org/cgit/pkg-lvm/lvm2.git/ no longer exists. regards, -mika-