purge-old-kernels produces an incorrect result with secure boot enabled

Bug #1595977 reported by Phil Hughes on 2016-06-24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Dustin Kirkland 

Bug Description

purge-old-kernels will produce an incorrect list of kernels to be removed when secure boot is enabled. The script look in /boot for a list of installed kernels, but with secure boot enabled, 2 kernels per version are installed eg:


Related branches

Changed in byobu:
importance: Undecided → Medium
status: New → Triaged
status: Triaged → In Progress
Dustin Kirkland  (kirkland) wrote :

bzr commit -m '* usr/bin/purge-old-kernels: LP: #1595977
  - modify the kernel purge algorithm slightly to better handle efi
    and virtual kernels' --fixes 'lp:1595977'
Committing to: /srv/media/src/byobu/byobu/
modified debian/changelog
modified usr/bin/purge-old-kernels
Committed revision 2512.

Changed in byobu:
status: In Progress → Fix Committed
Dan Watkins (daniel-thewatkins) wrote :

I think I just got bitten by this on zesty, so an upload would be much appreciated.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in byobu (Ubuntu):
status: New → Confirmed
Brian Murray (brian-murray) wrote :

Do you have any plans to release this fix into Ubuntu?

Changed in byobu (Ubuntu):
assignee: nobody → Dustin Kirkland  (kirkland)
Dustin Kirkland  (kirkland) wrote :

purge-old-kernels has been deprecated, in favor of "apt autoremove". If you have problems, please file bugs against apt.

Changed in byobu:
status: Fix Committed → Won't Fix
Changed in byobu (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers