partman-auto-raid refuses to allow /boot inside raid + LVM when using preseed.cfg partman-auto/expert_recipe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto-raid (Ubuntu) |
Fix Committed
|
High
|
Colin Watson |
Bug Description
Having /boot reside inside a logical volume as part of a mdraid mirror does work when configured manually, however it is impossible to preseed with partman-
At some point, preseeding "partman-
# Make sure a boot partition isn't marked as lvmok, unless the user
# has told us it is ok for /boot to reside on a logical volume
if echo "$scheme" | grep lvmok | grep -q "[[:space:
[ "$RET" = true ] || bail_out unusable_recipe
fi
)
However, partman-
# Make sure a boot partition isn't marked as lvmok
if echo "$scheme" | grep lvmok | grep -q "[[:space:
bail_out unusable_recipe
fi
Could a relaxed check similar to partman-auto-lvm be added to partman-auto-raid, so that /boot inside LVM inside mdraid can be preseeded as part of partman-
Thanks
James
d-i partman-auto/method string raid
d-i partman-auto/disk string /dev/sda /dev/sdb
d-i partman-
d-i partman-
1 2 0 lvm - raidid=1 .
d-i partman-
myrecipe :: \
. \
. \
.
I knew that clone-and-hack I did in partman-auto-raid would come back to bite me eventually. The partman-auto-lvm change was https:/ /bugs.debian. org/610377, so I'll adopt that change here too.