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

Bug #1595977 reported by Phil Hughes
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
byobu
Won't Fix
Medium
Unassigned
byobu (Ubuntu)
Won't Fix
Undecided
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:

vmlinuz-4.4.0-22-generic
vmlinuz-4.4.0-22-generic.efi.signed

Related branches

Changed in byobu:
importance: Undecided → Medium
status: New → Triaged
status: Triaged → In Progress
Revision history for this message
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
Revision history for this message
Dan Watkins (oddbloke) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in byobu (Ubuntu):
status: New → Confirmed
Revision history for this message
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)
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.