Package: xen-utils-3.0.3-1
Version: 3.0.3-0-4
Severity: normal

Booting with pygrub doesn't work. First problem is the path to
libraries (/usr/lib/python is used instead of
/usr/lib/xen-3.0.3-1/lib/python):

$ /usr/lib/xen-3.0.3-1/bin/pygrub
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 25, in ?
    import grub.GrubConf
ImportError: No module named grub.GrubConf


In addition to that, ext2 filesystem support is not compiled in:

$ ls /usr/lib/xen-3.0.3-1/lib/python/grub/fsys
__init__.py  __init__.pyc

This can be solved by adding e2fslibs-dev to the list of build deps.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xen-utils-3.0.3-1 depends on:
ii  iproute                20061002-3        Professional tools to control the 
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libncurses5            5.5-5             Shared libraries for terminal hand
ii  python                 2.4.4-2           An interactive high-level object-o
ii  python-central         0.5.12            register and build utility for Pyt
ii  udev                   0.105-4           /dev/ and hotplug management daemo
ii  xen-utils-common       3.0.3-0-2         XEN administrative tools - common 
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages xen-utils-3.0.3-1 recommends:
ii  bridge-utils                  1.2-1      Utilities for configuring the Linu
ii  xen-hypervisor-3.0.3-1-amd64  3.0.3-0-4  The Xen Hypervisor on AMD64

-- no debconf information
--- pygrub.dist	2008-09-29 11:21:29.000000000 +0200
+++ pygrub	2008-09-27 01:12:25.000000000 +0200
@@ -20,7 +20,7 @@
 import curses, _curses, curses.wrapper, curses.textpad, curses.ascii
 import getopt
 
-sys.path = [ '/usr/lib/python' ] + sys.path
+sys.path = [ '/usr/lib/xen-3.0.3-1/lib/python' ] + sys.path
 
 import grub.GrubConf
 import grub.fsys

Reply via email to