Oliver
2012-Aug-24 08:38 UTC
[Pkg-xen-devel] Bug#685749: xen-utils-4.1: /usr/lib/xen-default missing
Subject: xen-utils-4.1: /usr/lib/xen-default missing
Package: xen-utils-4.1
Version: 4.1.3-1
Severity: important
Dear Maintainer,
when using paravirtualization with xen and libvirt the path for pygrub is:
/usr/lib/xen-default/bin/pygrub
But this path is not provided with xen-utils-4.1 and will brake upgrades to
wheezy.
With xen-utils-4.0 and debian squeeze this path is provided with
update-alternatives in the postinst Skript.
With xen-utils-4.1 the alternative command in the postinst script removes
xen-default. Why?
This patch fixes the problem:
--- xen-utils-4.1.postinst 2012-08-17 11:47:00.000000000 +0200
+++ xen-utils-4.1.postinst.new 2012-08-24 10:35:12.000000000 +0200
@@ -4,7 +4,7 @@
case "$1" in
configure)
- update-alternatives --remove xen-default /usr/lib/xen-4.1
+ update-alternatives --install /usr/lib/xen-default xen-default
/usr/lib/xen-4.1 1 || true
if [ -x "/etc/init.d/xen" ]; then
invoke-rc.d xen start || exit $?
fi
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/24 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages xen-utils-4.1 depends on:
ii e2fslibs 1.42.5-1
ii libc6 2.13-33
ii libgnutls26 2.12.20-1
ii libncurses5 5.9-10
ii libpci3 1:3.1.9-5
ii libtinfo5 5.9-10
ii libuuid1 2.20.1-5.1
ii libxen-4.1 4.1.3-1
ii libxenstore3.0 4.1.3~rc1+hg-20120614.a9c0a89c08f2-4
ii python 2.7.3~rc2-1
ii python2.7 2.7.3~rc2-2.1
ii xen-utils-common 4.1.3-1
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages xen-utils-4.1 recommends:
ii bridge-utils 1.5-4
pn qemu-keymaps <none>
pn qemu-utils <none>
ii xen-hypervisor-4.1-amd64 [xen-hypervi 4.1.3~rc1+hg-20120614.a9c0a89c08f2-4
Versions of packages xen-utils-4.1 suggests:
pn xen-docs-4.1 <none>
-- no debconf information
Ian Campbell
2012-Aug-24 10:00 UTC
[Pkg-xen-devel] Bug#685749: Bug#685749: xen-utils-4.1: /usr/lib/xen-default missing
On Fri, 2012-08-24 at 10:38 +0200, Oliver wrote:> Subject: xen-utils-4.1: /usr/lib/xen-default missing > Package: xen-utils-4.1 > Version: 4.1.3-1 > Severity: important > > Dear Maintainer, > > when using paravirtualization with xen and libvirt the path for pygrub is: > /usr/lib/xen-default/bin/pygrub > > But this path is not provided with xen-utils-4.1 and will brake upgrades to > wheezy. > > With xen-utils-4.0 and debian squeeze this path is provided with > update-alternatives in the postinst Skript. > > With xen-utils-4.1 the alternative command in the postinst script removes > xen-default. Why?xen-default isn't used/doesn't exist any more. libvirt should just use "pygrub" and let the xen toolstack figure out the path. Ian.
Debian Bug Tracking System
2012-Aug-28 08:27 UTC
[Pkg-xen-devel] Processed: Re: Bug#685749: xen-utils-4.1: /usr/lib/xen-default missing
Processing control commands:> reassign -1 libvirtBug #685749 [xen-utils-4.1] xen-utils-4.1: /usr/lib/xen-default missing Bug reassigned from package 'xen-utils-4.1' to 'libvirt'. Ignoring request to alter found versions of bug #685749 to the same values previously set Ignoring request to alter fixed versions of bug #685749 to the same values previously set -- 685749: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685749 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Reasonably Related Threads
- Bug#681343: xcp-xapi: wait_for_xapi() function in init.d script does not work
- Bug#680499: xcp-xapi: Http_client.Http_request_rejected during upgrade
- Bug#680102: xcp-xapi: xcp fails eject host from pool (no /etc/firstboot.d found)
- Bug#682122: xcp-xapi: README.Debian has a few misleading commands
- Bug#680588: xcp-xapi: startup race condition between xcp-xapi and xcp-networkd on slave