[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:00:47 UTC 2022


Okay, thanks for the additional info. So, you are correct that the red
hat bug does currently apply to 22.04, because we do not have this
upstream commit [1]. However, that bug pertains only to kernel-install,
which is not called in your script. It is also not invoked by apt or the
linux package's maintainer scripts AFAICT.

[1]
https://github.com/systemd/systemd/commit/06006691b5c56b6123044179d934b3ed81c237ca

** Changed in: systemd (Ubuntu)
       Status: Incomplete => Triaged

** Also affects: systemd (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Jammy)
       Status: New => Triaged

** Changed in: systemd (Ubuntu Jammy)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu)
       Status: Triaged => Invalid

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