update-initramfs fails for MODULES=dep when root is on LVM wich uses nvme device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Trusty |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[impact]
On a trusty system, if using MODULES=dep with lvm-on-nvme then update-initramfs fails to rebuild the initramfs. This prevents using MODULES=dep for building an initramfs on trusty, with a rootfs that uses lvm on nvme.
[test case]
install a system where the rootfs uses a LVM logical volume that is located on a physical volume on a NVMe drive. Edit the /etc/initramfs-
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.
mkinitramfs: for root /dev/dm-0 missing nvme /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.
[regression potential]
This changes initramfs creation for rootfs that are on nvme or lvm, so has the potential to break it for any system with its rootfs on either or both of those. It is likely to only break initramfs creation, not system booting.
About the autopkgtest failure, explanation can be found here:
https:/
[other info]
related to bug 1532146
description: | updated |
this applies only to trusty; initramfs-tools in later releases is fixed already.