← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Patch added: "hook-functions variable name fix"
   https://bugs.launchpad.net/bugs/1539826/+attachment/4559496/+files/hook-functions.patch

-- 
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:
  New

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


Follow ups