initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't
Bug #246326 reported by
Dennis W.
This bug report is a duplicate of:
Bug #246324: initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't .
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
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/
mkdir -p ${DESTDIR}/etc/lvm
cp -p /etc/lvm/lvm.conf ${DESTDIR}
To post a comment you must log in.