** Also affects: dkms
Importance: Undecided
Status: New
** Changed in: dkms
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.im
** Tags removed: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https:/
** No longer affects: initramfs-tools (Ubuntu)
** No longer affects: initramfs-tools (Ubuntu Xenial)
** No longer affects: initramfs-tools (Ubuntu Zesty)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
** Changed in: initramfs-tools (Ubuntu Zesty)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage no
** Tags added: id-5a3426a32a7fadf9fd319f63
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
h
This bug was fixed in the package dkms - 2.2.0.3-2ubuntu11.5
---
dkms (2.2.0.3-2ubuntu11.5) xenial; urgency=medium
* 0014-remove-initrd-backup.patch: When removing a kernel also remove
related .old-dkms file from /boot after its been created not before.
(LP: #1515513)
-- B
This bug was fixed in the package dkms - 2.3-3ubuntu1.2
---
dkms (2.3-3ubuntu1.2) zesty; urgency=medium
* 0014-remove-initrd-backup.patch: When removing a kernel also remove
related .old-dkms file from /boot after its been created not before.
(LP: #1515513)
-- Brian Murray
This bug was fixed in the package dkms - 2.3-3ubuntu3
---
dkms (2.3-3ubuntu3) artful; urgency=medium
* 0014-remove-initrd-backup.patch: When removing a kernel also remove
related .old-dkms file from /boot after its been created not before.
(LP: #1515513)
-- Brian Murray
The verification of this also passed for Xenial, Ubuntu 16.04.
run-parts: executing /etc/kernel/prerm.d/dkms 4.4.0-31-generic
/boot/vmlinuz-4.4.0-31-generic
dkms: removing: r8168 8.041.00 (4.4.0-31-generic) (x86_64)
Uninstall Beginning
Module: r8168
Version: 8.041.00
Kernel:
I've verified that the version of dkms, 2.3-3ubuntu1.2, in zesty-
proposed now does the right thing.
Backing up initrd.img-4.10.0-19-generic to
/boot/initrd.img-4.10.0-19-generic.old-dkms
Making new initrd.img-4.10.0-19-generic
(If next boot fails, revert to initrd.img-4.10.0-19-generic.old-dkms
Hello Robin, or anyone else affected,
Accepted dkms into zesty-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/dkms/2.3-3ubuntu1.2 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubun
Brian, Where you have uploaded the code? The code at
https://code.launchpad.net/ubuntu/+source/dkms is old.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms f
I've uploaded fixes to all releases previously identified as worth
fixing which remove the .old-dkms file after its been created.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/i
** Changed in: dkms (Ubuntu)
Status: Fix Released => In Progress
** Tags removed: verification-needed-xenial verification-needed-zesty
** Tags added: verification-failed-xenial verification-failed-zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which i
The verification of this has failed as the fix was incorrect.
Removing linux-image-4.10.0-19-generic (4.10.0-19.21) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 4.10.0-19-generic
/boot/vmlinuz-4.10.0-19-generic
removed '/boot/initrd.img-4.10.0-19-generic.old-dk
Hello Robin, or anyone else affected,
Accepted dkms into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/dkms/2.2.0.3-2ubuntu11.4 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wik
** Tags added: id-59d2b866ce8150327afa2464
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
h
Sorry I didn't test it. Turns out in my case it's Intel drivers
/var/lib/dkms $ grep REMAKE_INITRD * -rF
i915-4.6.3-4.4.0/1/build/dkms.conf:REMAKE_INITRD=yes
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
** Description changed:
+ [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 wi
I found some commonly used dkms packages that do set REMAKE_INITRD.
broadcom-sta-6.30.223.271/debian/broadcom-sta-dkms.dkms:REMAKE_INITRD="YES"
flashcache-3.1.3+git20150701/src/dkms.conf:REMAKE_INITRD=yes
r8168-8.044.02/debian/r8168-dkms.dkms:REMAKE_INITRD="YES"
And zfs sets REMAKE_INITRD sometim
My testing indicates that the .old-dkms files are only created if
"remake_initrd" is yes in /usr/sbin/dkms and that is controlled by
"REMAKE_INITRD" in a dkms.conf file. From what I can tell most
dkms.conf files do not contain the REMAKE_INITRD option. So I don't
think this effects a lot of people
1. Have nvidia-3## and/or virtualbox installed.
2. Update kernel.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications
I'm looking for specific steps to recreate the problem on an Ubuntu
system. What steps do I need to take for dkms to leave to a bunch of
.old-dkms files in boot?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.ne
It's in the DKMS itself. Not sure what the main branch is, but here is an
example from some branch:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/dkms/vivid-updates/view/head:/dkms#L277
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
While I've uploaded this fix to Artful for dkms, its not quite clear to
me how the extra files end up getting created. I've a couple of systems
using dkms and nvidia and I don't see any .old-dkms files on them. For
this to SRU'ed, which I'm happy to do, we'd need a test case which
describes how to
This bug was fixed in the package dkms - 2.3-3ubuntu2
---
dkms (2.3-3ubuntu2) artful; urgency=medium
* 0014-remove-initrd-backup.patch: When removing a kernel also remove
related .old-dkms file from /boot. (LP: #1515513)
-- Brian Murray Fri, 15 Sep 2017 15:33:17 -0700
** Ch
** Tags added: full-boot
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https://bugs.launch
** Changed in: dkms (Ubuntu)
Assignee: (unassigned) => Brian Murray (brian-murray)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To
** Changed in: dkms (Ubuntu)
Status: Confirmed => Triaged
** Changed in: dkms (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/ini
The commit for this in upstream Debian (0.123 version of initramfs-
tools) is here: https://anonscm.debian.org/cgit/kernel/initramfs-
tools.git/commit/?id=ac6d31fc2c707b72ff8af9944c9b4f8af303a6a3 - I would
be happy to make a patch for this commit to xenial (zesty and later has
0.125+, so should alr
Sorry, my previous comment was for another initramfs-tools related bug.
Please disregard #18.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behi
Note that the patch in #15 removes the leftovers related to the kernel
version being removed currently. Removing leftovers related to already
purged kernels still have to be done manually, for example by linux-
purge https://www.bountysource.com/issues/38300038-feature-request-the-
command-should-w
The attachment "patch against update-imitramfs" seems to be a patch. If
it isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned b
According to commant #8
patch against current
https://git.launchpad.net/~usd-import-team/ubuntu/+source/initramfs-tools/tree/update-initramfs
Removes all leftover initramfs files, even after dkms is uninstalled.
** Attachment added: "patch against update-imitramfs"
https://bugs.launchpad.net/
** No longer affects: dell-sputnik
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https://b
DKMS is a Dell project but not Project Sputnik. Marking as invalid for
dell-sputnik.
** Changed in: dell-sputnik
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Ti
** Also affects: initramfs-tools
Importance: Undecided
Status: New
** Project changed: initramfs-tools => dell-sputnik
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/i
** Description changed:
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 manuall
Will the fix be included in Zesty or Artful?
** Tags added: artful yakkety
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage noti
** Tags added: zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https://bugs.launchpad.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Tit
Merged upstream :D
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https://bugs.launchpad.ne
** Tags added: xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about this bug go to:
https://bugs.launchpad
Why not adding removing to both? That way update-initramfs would remove
the extra ones even if dkms was uninstalled.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.o
Also found this:
https://github.com/dell/dkms/issues/2
It's known upstream in debian and dkms, but whether dkms or initramfs-
tools should be responsible for cleaning up files left behind by
dkms...I dunno. What you posted sounded like it made sense to me.
I just wanted to note at least dkms ha
Or update-initramfs could do more comprehensive deletion in its delete
function:
rm -f "${initramfs}" "${initramfs}".*
instead of
rm -f "${initramfs}" "${initramfs}.bak"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.l
Here is the code as a file to retain text formatting.
** Attachment added: "Shell code for removing the backup initrd file for given
kernel"
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1515513/+attachment/4852757/+files/remove_initrd_backup
--
You received this bug notifi
The Bourne shell script code to remove the backups could be added in
kernel_prerm.d_dkms (or currently non-existing kernel_postrm.d_dkms) in
dkms package source, but if the package was removed, there would be no
code to remove the backups in conjunction with kernel removing. Thus,
the code could be
** Also affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To m
This affects 16.04 LTS as well:
$ dkms --version
dkms: 2.2.0.3
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications ab
Debian Bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717584
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notificati
Might be causing/aggravating this issue with full /boot:
https://bugs.launchpad.net/ubuntu/+source/unattended-
upgrades/+bug/1357093
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/bo
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: dkms (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot
** Changed in: dkms (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515513
Title:
/boot/initrd.img-*.old-dkms files left behind
To manage notifications about t
54 matches
Mail list logo