modinfo prints an error message if modules.builtin.bin is missing

Bug #1863261 reported by Rafael David Tinoco
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Won't Fix
Medium
Unassigned
Disco
Won't Fix
Undecided
Unassigned
Eoan
Won't Fix
Medium
Unassigned
Focal
Fix Released
Medium
Unassigned

Bug Description

Running a simple "update-initramfs -u" in a system with kmod version 26+20191223-1ubuntu1 (from focal-proposed)

will result into a bunch of:

depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_FLkEYb/lib/modules/5.4.0-14-generic/modules.builtin.bin'

errors. That happens because:

modinfo prints an error message if modules.builtin.bin is missing and it was fixed upstream (Debian) in:

commit 835d584
Author: Ben Hutchings <email address hidden>
Date: Sat Jan 18 15:44:32 2020

    mkinitramfs: Copy modules.builtin.bin into initramfs

    modinfo now prints an error message if modules.builtin.bin (created
    by depmod) is missing. Copy it in early if it's present.

    Closes: #948257
    Signed-off-by: Ben Hutchings <email address hidden>

and reported in bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948257

Related branches

Changed in initramfs-tools (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Rafael David Tinoco (rafaeldtinoco)
Changed in kmod (Ubuntu Focal):
status: New → Fix Released
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.133ubuntu15

---------------
initramfs-tools (0.133ubuntu15) focal; urgency=medium

  * mkinitramfs: Copy modules.builtin.bin into initramfs (LP: #1863261)

 -- Rafael David Tinoco <email address hidden> Fri, 14 Feb 2020 15:05:29 +0000

Changed in initramfs-tools (Ubuntu Focal):
status: In Progress → Fix Released
no longer affects: kmod (Ubuntu Focal)
no longer affects: kmod (Ubuntu)
no longer affects: initramfs-tools (Ubuntu Focal)
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Disco is EOL. All other supported versions need same patch for HWE kernels.

Changed in initramfs-tools (Ubuntu Disco):
status: New → Won't Fix
Changed in initramfs-tools (Ubuntu Eoan):
status: New → In Progress
Changed in initramfs-tools (Ubuntu Bionic):
status: New → In Progress
Changed in initramfs-tools (Ubuntu Focal):
assignee: Rafael David Tinoco (rafaeldtinoco) → nobody
Changed in initramfs-tools (Ubuntu Bionic):
importance: Undecided → Medium
Changed in initramfs-tools (Ubuntu Eoan):
importance: Undecided → Medium
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

I'm flagging this as won't fix because of LP: #1864992. Focal has been merged with 0.136ubuntu1 containing this "fix". Eoan and Bionic will not face this issue with fix for LP: #1864992.

Changed in initramfs-tools (Ubuntu Eoan):
status: In Progress → Won't Fix
Changed in initramfs-tools (Ubuntu Bionic):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.