azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Address leaking of older kdump initrds that can potentially fill up /boot

Open christopherco opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. With the introduction of #6479 , if the user enrolls in the new compressed kdump collection option (via force_no_rebuild=0 and mariner_2_initrd_use_suffix=1 in Mariner 2.0, or with default usage in 3.0), we are "leaking" kdump initrds created for older kernels.

We elected not to fix this behavior in our 'stable' release due to risk of regression from hacks to address this. So this feature request is to implement a method to clean up the "leaked" kdump initrds appropriately in our upcoming Azure Linux major release.

See discussion comments:

  • https://github.com/microsoft/azurelinux/pull/6479#issuecomment-1773073560
  • https://github.com/microsoft/azurelinux/pull/6479#pullrequestreview-1894122401

christopherco avatar Mar 21 '24 01:03 christopherco