Note this is fixed in upstream debian by commit:

commit 3cb744c9cf39f0dc178370ef6235a1b30f8c7d06
Author: Ben Hutchings <b...@decadent.org.uk>
Date:   Tue Dec 8 02:53:23 2015 +0000

    hook-functions: Rewrite block device sysfs lookup to be generic


That commit is a larger change that reworks the entire way initramfs parses 
/dev/* names into underlying sys block device names, and is more change that is 
required to get trusty initramfs-tools working for this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to