← Back to team overview

touch-packages team mailing list archive

[Bug 1539826] Re: initramfs-tools hook-functions error causes failure

 

I can confirm both the bug (with /dev/sda1 on my computers) and that
Jay's patch works. I would like to make a fix, if that's OK (and if it's
needed). This would be "my" first fix and I'm following this tutorial:
http://packaging.ubuntu.com/html/fixing-a-bug.html

-- 
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/1539826

Title:
  initramfs-tools hook-functions error causes failure

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  The /usr/share/initramfs-tools/hook-functions contains what appears to be a variable name update (from root to dev_node) error.
  It appears that one instance of root was not updated correctly; this causes mkinitramfs to fail with the error:

  mkinitramfs: for device /dev/vda1 missing vda1 /sys/block/ entry
  mkinitramfs: workaround is MODULES=most
  mkinitramfs: Error please report the bug

  A trivial patch that appears to resolve this is attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: initramfs-tools 0.120ubuntu7 [modified: usr/share/initramfs-tools/hook-functions]
  ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
  Uname: Linux 4.3.0-7-generic x86_64
  ApportVersion: 2.19.4-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Jan 29 17:44:20 2016
  InstallationDate: Installed on 2016-01-29 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160129)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1539826/+subscriptions


References