#732247 grub-xen: Package description doesn't explain if this package is thought for DomUs or Dom0s

Package:
grub-xen
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (Xen version)
Submitter:
Axel Beckert
Date:
2013-12-20 12:15:04 UTC
Severity:
minor
#732247#5
Date:
2013-12-15 23:48:40 UTC
From:
To:
Dear GRUB Maintainers,

the current package description of grub-xen leaves open if this package
is thought for DomUs (guest machines) or Dom0s (host machines):

  This package contains a version of GRUB that has been built for use
  with the Xen hypervisor (i.e. PV-GRUB).

I though suspect it's for use within a DomU
(c.f. http://wiki.xen.org/wiki/PvGrub), so I suggest a more verbose
description like this:

  This package contains a version of GRUB that has been built for use
  inside Xen guest domains (DomUs), i.e. for use with PV-GRUB.
  .
  It does not need to be installed on the Xen Dom0.

#732247#10
Date:
2013-12-20 11:48:33 UTC
From:
To:
It's actually both; the intention is that you can install it within a
domU so that it always matches the grub.cfg there, and also have a copy
in dom0 to replace the old PV-GRUB.  (In either case it will run in the
domU context.)  The configuration code is still evolving, though, so
some assembly is still required.

Mind if I park this bug temporarily until the configuration is a bit
more established?

#732247#15
Date:
2013-12-20 12:03:49 UTC
From:
To:
Hi Colin,

Colin Watson wrote:
[...]

Oh, ok.

That's surprising. IIRC pv-grub-menu is a relative new package and
there were some issues with pv-grub support in Debian's Xen in the
past. Didn't know that pv-grub is already deprecated again. (Haven't
yet started playing with it. :-)

OK. Planned to play around it with on my Xen test box at work after
the season's holidays.

Not at all! I gyess it serves perfectly as reminder to rework the
description once the package stabilizes. :-)

Thanks for the feedback!

		Regards, Axel

#732247#20
Date:
2013-12-20 12:13:28 UTC
From:
To:
Well, PV-GRUB was based on GRUB Legacy, so in some sense its underlying
code has been deprecated for years.  It's just that until recently there
hasn't been a viable replacement (other than PyGRUB, which has
fundamental security issues because it parses the domU's filesystem in
the dom0).

If you want a sense of the general direction here, see
https://lists.gnu.org/archive/html/grub-devel/2013-12/msg00184.html and
thread, although I need to entirely rework the patch set.

Cheers,