Public bug reported:

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

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it 
shouldn't 
https://bugs.launchpad.net/bugs/246326
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to