initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it shouldn't
Bug #246324 reported by
Dennis W.
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drbd8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lvm2 (Ubuntu) |
Fix Released
|
High
|
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}
Ubuntu Version:
Hardy (8.04)
Related branches
description: | updated |
To post a comment you must log in.
What version of Ubuntu are you using?