Package: xen-utils-common
Version: 3.4.2-4
Severity: normal
Tags: patch

xen-version does not include the "extra" component, only major.minor.

This keeps makes /etc/init.d/xend bail out with xen 3.2-1 from lenny.

patch attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (600, 'testing'), (600, 'stable'), (500, 'stable'), (300, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-utils-common depends on:
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip
ii  udev                         154-1       /dev/ and hotplug management daemo
ii  xenstore-utils               3.4.3~rc6-1 Xenstore utilities for Xen

xen-utils-common recommends no packages.

xen-utils-common suggests no packages.

-- Configuration Files:
/etc/xen/xend-config.sxp changed [not included]

-- no debconf information
--- /usr/lib/xen-common/bin/xen-version~	2010-03-26 10:04:00.000000000 +0100
+++ /usr/lib/xen-common/bin/xen-version	2010-06-06 20:16:14.000000000 +0200
@@ -22,7 +22,7 @@
         if [ "$(cat $DIR/extra)" = "-unstable" ]; then
             VERSION=unstable
         else
-            VERSION="$(cat $DIR/major).$(cat $DIR/minor)"
+            VERSION="$(cat $DIR/major).$(cat $DIR/minor)$(cat $DIR/extra)"
         fi
     else
         warn "Can't read type from sysfs!"

Reply via email to