[Bug 1718055] Re: update-initramfs fails for MODULES=dep when root is on LVM wich uses nvme device
Dan Streetman
dan.streetman at canonical.com
Thu Sep 28 21:06:17 UTC 2017
$ dpkg -l | grep initramfs-tools
ii initramfs-tools 0.103ubuntu4.7 all tools for generating an initramfs
ii initramfs-tools-bin 0.103ubuntu4.7 amd64 binaries used by initramfs-tools
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-129-generic
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.img-3.13.0-129-generic with 1.
after update to proposed:
$ dpkg -l | grep initramfs-tools
ii initramfs-tools 0.103ubuntu4.8 all tools for generating an initramfs
ii initramfs-tools-bin 0.103ubuntu4.8 amd64 binaries used by initramfs-tools
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-129-generic
initramfs successfully built.
** Tags removed: verification-needed verification-needed-trusty
** Tags added: verification-done verification-done-trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1718055
Title:
update-initramfs fails for MODULES=dep when root is on LVM wich uses
nvme device
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Trusty:
Fix Committed
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-tools/initramfs.conf file and change the MODULES line to
MODULES=dep and save the file. Then run sudo update-initramfs -u
which will fail with:
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-129-generic
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.img-3.13.0-129-generic with 1.
[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.
[other info]
related to bug 1532146
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1718055/+subscriptions
More information about the foundations-bugs
mailing list