[Bug 246324] [NEW] initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't

Dennis W. dennis.wolff at gmx.de
Mon Jul 7 16:58:28 UTC 2008


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/246324
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list