Removing old kernel-core leaves modules.builtin.alias.bin under /lib/modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Triaged
|
Low
|
Unassigned | ||
Jammy |
Triaged
|
Low
|
Unassigned |
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/
misc modules.
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.
Are you invoking kernel-install to remove kernels? Or what action did you perform exactly? It appears there is a lot more than modules. builtin. alias.bin leftover in your /lib/modules/ 5.15.0- 41-generic/ .