[Pkg-xen-devel] Bug#977148: Removing Xen hypervisor packages does not update-grub
Hans van Kranenburg
hans at knorrie.org
Fri Dec 11 19:18:52 GMT 2020
Package: src:xen
Version: 4.11.4+57-g41a822c392-1
Severity: normal
When removing the Xen packages, the grub menu entries to boot should be
removed.
Currently, thanks to a missing postfix of a postrm filename...
xen-hypervisor-V-F.postrm
vs.
xen-hypervisor-V-F.postrm.vsn-in
...this script is ignored and not installed. This is the maintainer
script that contains the update-grub command.
The result of this packaging bug is that after removing Xen, the system
remains unbootable, except when interacting manually with the grub menu.
I'd like to also apply the fix to Debian stable since:
* The script was there before, the bug was introduced during a
refactoring in the Xen 4.11 packaging.
* The fix is very small and targeted.
* It's rather embarrasing to cause a system to be unbootable for someone.
* We cannot require all Debian users to have proper OOB in place to deal
with a situation like this.
Hans
More information about the Pkg-xen-devel
mailing list