/boot/initrd.img-*.old-dkms files left behind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DKMS |
Fix Released
|
Undecided
|
Unassigned | ||
dkms (Debian) |
Fix Released
|
Unknown
|
|||
dkms (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Xenial |
Fix Released
|
High
|
Brian Murray | ||
Zesty |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
If a dkms package is installed which has REMAKE_INITRD or the same setting has be manually configured by a user then when a kernel is removed its possible for an ".old-dkms" file to be left in /boot with no associated kernel.
[Test Case]
On a system with two old kernels and one new kernel available in -updates:
1) install r8168-dkms
2) install the dkms module for the old kernel e.g. 'sudo dkms install -m r8168 -v 8.041.00 -k 4.4.0-31-generic'
3) upgrade your kernel e.g. "sudo apt install linux-image-
4) sudo apt autoremove
5) observe something like "initrd.
With the version of dkms in -proposed, the .old-dkms file will be removed when the kernel is auto removed.
[Regression Potential]
Somebody out there might expect the .old-dkms file to be kept, but that seems like an odd expectation.
One notices *.old-dkms files being left behind still sitting on the disk after purging the related kernel. This can cause /boot to become full, and when it gets really bad, even sudo apt-get autoremove won't fix the problem - only deleting the old-dkms files manually solves the problem.
Note: Filling up the /boot partition causes updates to fail.
ProblemType: BugDistroRelease: Ubuntu 15.04
Package: dkms 2.2.0.3-2ubuntu3.3
ProcVersionSign
Uname: Linux 3.19.0-28-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.7
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Nov 12 08:17:10 2015
InstallationDate: Installed on 2015-05-05 (190 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitec
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in dkms (Debian): | |
status: | Unknown → New |
tags: | added: xenial |
tags: | added: zesty |
description: | updated |
affects: | initramfs-tools → dell-sputnik |
no longer affects: | dell-sputnik |
Changed in dkms (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in dkms (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | added: full-boot |
description: | updated |
Changed in dkms (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in dkms (Ubuntu Zesty): | |
status: | New → In Progress |
Changed in dkms (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in dkms (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in dkms (Ubuntu Xenial): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in dkms (Ubuntu Zesty): | |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | added: id-59d2b866ce8150327afa2464 |
Changed in dkms (Ubuntu): | |
status: | Fix Released → In Progress |
tags: |
added: verification-failed-xenial verification-failed-zesty removed: verification-needed-xenial verification-needed-zesty |
tags: | added: id-5a3426a32a7fadf9fd319f63 |
Changed in initramfs-tools (Ubuntu Zesty): | |
status: | New → Won't Fix |
no longer affects: | initramfs-tools (Ubuntu) |
no longer affects: | initramfs-tools (Ubuntu Xenial) |
no longer affects: | initramfs-tools (Ubuntu Zesty) |
tags: | removed: verification-needed |
Changed in dkms: | |
status: | New → Fix Released |
Changed in dkms (Debian): | |
status: | New → Fix Committed |
Changed in dkms (Debian): | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.