[Bug 1718055] [NEW] update-initramfs fails for MODULES=dep when root is on LVM wich uses nvme device
Dan Streetman
dan.streetman at canonical.com
Mon Sep 18 22:18:09 UTC 2017
Public bug reported:
[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
** Affects: initramfs-tools (Ubuntu)
Importance: Medium
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Medium
** Changed in: initramfs-tools (Ubuntu)
Status: New => In Progress
** Changed in: initramfs-tools (Ubuntu)
Assignee: (unassigned) => Dan Streetman (ddstreet)
--
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:
In Progress
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