Public bug reported:

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 <b...@decadent.org.uk>
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 <b...@decadent.org.uk>

and reported in bug:

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

** Affects: initramfs-tools (Ubuntu)
     Importance: Medium
     Assignee: Rafael David Tinoco (rafaeldtinoco)
         Status: In Progress

** Affects: initramfs-tools (Ubuntu Focal)
     Importance: Medium
     Assignee: Rafael David Tinoco (rafaeldtinoco)
         Status: In Progress

** Changed in: initramfs-tools (Ubuntu)
       Status: New => In Progress

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

** Changed in: initramfs-tools (Ubuntu)
     Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)

** Also affects: initramfs-tools (Ubuntu Focal)
   Importance: Medium
     Assignee: Rafael David Tinoco (rafaeldtinoco)
       Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863261

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to