[Bug 1990624] Re: Removing old kernel-core leaves modules.builtin.alias.bin under /lib/modules

Nick Rosbrook 1990624 at bugs.launchpad.net
Fri Sep 23 16:07:47 UTC 2022


Also, I believe a simple workaround for this is to add a drop-in to
/etc/kernel/install.d that fixes what is missing from
/usr/lib/kernel/install.d/50-depmod.install. See [1] for more details.

[1] https://man7.org/linux/man-pages/man8/kernel-install.8.html

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

Title:
  Removing old kernel-core leaves modules.builtin.alias.bin under
  /lib/modules

Status in systemd package in Ubuntu:
  Invalid
Status in systemd source package in Jammy:
  Triaged

Bug description:
  After I remove old kernels, I see there are artifacts left over in
  /lib/modules. Below, I should have only two folders - one for the
  latest 5.4 kernel, and one for the latest 5.15 kernel.

  $ ls /lib/modules
  5.15.0-41-generic  5.15.0-46-generic  5.4.0-126-generic
  5.15.0-43-generic  5.15.0-48-generic

  $ ls /lib/modules/5.15.0-41-generic/
  misc               modules.builtin.alias.bin  modules.dep.bin  modules.symbols
  modules.alias      modules.builtin.bin        modules.devname  modules.symbols.bin
  modules.alias.bin  modules.dep                modules.softdep

  This appears to be a rehash of Red Hat Issue 2016630 - Removing old
  kernel-core leaves modules.builtin.alias.bin under /lib/modules,
  https://bugzilla.redhat.com/show_bug.cgi?id=2016630 .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990624/+subscriptions




More information about the foundations-bugs mailing list