[Bug 246326] Re: initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't
Numérigraphe
246326 at bugs.launchpad.net
Sun Jun 19 13:50:56 UTC 2011
*** This bug is a duplicate of bug 246324 ***
https://bugs.launchpad.net/bugs/246324
** This bug is no longer a duplicate of bug 113515
Omits /etc/lvm/lvm.conf
** This bug has been marked a duplicate of bug 246324
initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/246326
Title:
initramfs-tools lvm2-hookscript won't include lvm.conf and claim
devices it shouldn't
Status in “initramfs-tools” package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/246326/+subscriptions
More information about the foundations-bugs
mailing list