lvm2 package should drop a hook for it's configuration in initramfs.

** Changed in: lvm2 (Ubuntu)
   Importance: Undecided => High

** Changed in: lvm2 (Ubuntu)
       Status: New => Confirmed

-- 
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: New
Status in “lvm2” package in Ubuntu: Confirmed

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

Reply via email to