[Pkg-xen-devel] Bug#508139: HVM guests can't be used because there is no /usr/lib/xen folder

Thomas Goirand thomas at goirand.fr
Mon Dec 8 08:52:04 UTC 2008


Package: xen-utils-3.2-1
Version: 3.2.1-2
Severity: grave

I tried to start an HVM guest to setup Windows 2003 64 bits entreprise R2, and
I spent a long time figuring out that there is no /usr/lib/xen folder by
default, and this is where Xen is searching for it's file when using HVM, VNC
and all. Doing a simple symlink with ln -s /usr/lib/xen-3.2.1 /usr/lib/xen made
it working, if it's not present, the VM is stuck and wainting for whatever.

The system MUST be usable as-is, or at least, some things shall be explained
somewhere to warn the user about it. I had a look into the README.Debian, and
nothing seemed to talk about this problem.

Maybe the way to fix would be to do the following in your postinst:

if [ -e /usr/lib/xen ] ; then
	ln -s /etc/alternatives/xen /usr/lib/xen
fi

That's what I think should be best.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-utils-3.2-1 depends on:
ii  e2fslibs               1.41.3-1          ext2 filesystem libraries
ii  iproute                20080725-2        networking and traffic control too
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime libr
ii  libgnutls26            2.4.2-3           the GNU TLS library - runtime libr
ii  libncurses5            5.6+20080830-1    shared libraries for terminal hand
ii  libsdl1.2debian        1.2.13-2          Simple DirectMedia Layer
ii  libxenstore3.0         3.2.1-2           Xenstore communications library fo
ii  python                 2.5.2-3           An interactive high-level object-o
ii  python-central         0.6.8             register and build utility for Pyt
ii  udev                   0.125-7           /dev/ and hotplug management daemo
ii  xen-utils-common       3.2.0-2           XEN administrative tools - common 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages xen-utils-3.2-1 recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  xen-hypervisor-3.2-1-amd64 [x 3.2.1-2    The Xen Hypervisor on AMD64

Versions of packages xen-utils-3.2-1 suggests:
pn  xen-docs-3.2                  <none>     (no description available)

-- no debconf information





More information about the Pkg-xen-devel mailing list