Subject: bug#343: xen: Fails to boot Xen by default

From: Elliott Mitchell <[email-masked]>
Date: Mon, 29 Jul 2019 13:36:36 -0700

Package: xen-hypervisor-4.8-amd64
Version: 4.8.5+shim4.10.2+xsa282-1+deb9u11

The 4.8 version of the Xen package has
'GRUB_DEFAULT="Debian GNU/Linux, with Xen hypervisor"' at the bottom of
/etc/default/grub.d/xen.cfg.  Unfortunately this fails since Devuan is a
distinct distribution and the match fails.

I think the older solution recommended for Wheezy and Squeeze
(https://wiki.debian.org/Xen#Prioritize_booting_Xen_over_native_Linux) of
adding a symbolic link to /etc/grub.d functions better as it doesn't rely
on an exact string match.  That would require coordination with Debian to
rework handling of /etc/grub.d (make a 10_default script which is
meant to be overridden by packages and rename 10_linux to 11_linux).

-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email-masked]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 09 Dec 2020 02:33:03 +0000

This is an automatic notification regarding your bug report
which was filed against the xen-hypervisor-4.8-amd64 package:

#343: xen: Fails to boot Xen by default

It has been closed by Elliott Mitchell <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Elliott Mitchell <[email-masked]> by
replying to this email.

-- 
343: https://bugs.devuan.org/cgi/bugreport.cgi?bug=343
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: #343 Fixed with Xen 4.11 packages
From: Elliott Mitchell <[email-masked]>
To: [email-masked]
Date: Tue, 8 Dec 2020 18:27:10 -0800

Somewhere during the work between 4.8 and 4.11, this bug was fixed.
Originally the file attempting to control the behavior was in
xen-hypervisor-<version>-<arch>, but the 4.11 packages moved it to
xen-hypervisor-common (/etc/default/grub.d/xen.cfg).

I'm guessing this also caused problems for Ubuntu and pretty well all
other Debian derivatives.  I still find I prefer using dpkg-divert to
rearrange /etc/grub.d more suited to me.

This issue though is without any doubt, fixed.

Subject: xen: Fails to boot Xen by default
From: Elliott Mitchell <[email-masked]>
To: [email-masked]
Date: Mon, 29 Jul 2019 13:36:36 -0700