[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 18:22:59 UTC 2022
You could try opening a bug for the linux package
(https://launchpad.net/ubuntu/+source/linux), but I'm not sure it is a
bug exactly. Other tools like depmod may add files to
/lib/modules/$version, which causes apt to not remove the
/lib/modules/$version directory so that it does not accidentally delete
data the user did want deleted.
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Focal)
Status: New => Triaged
** Changed in: systemd (Ubuntu Focal)
Importance: Undecided => Low
--
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 Focal:
Triaged
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