[Pkg-xen-devel] Bug#557151: /etc/init.d/xend: xend does not start with non pvops kernel

Jean Charles Del?ne jean.charles at delepine.info
Thu Nov 19 22:24:38 UTC 2009


Package: xen-utils-common
Version: 3.4.2-1
Severity: important
File: /etc/init.d/xend
Tags: patch

Hello,

/etc/init.d/xend assume xenfs is present and doesn't start xend if not.

This dirty patch makes xend start and XEN being operationnal with old 
flavour xen kernels. I use 2.6.31.5 with forwarded ported Xen 2.6.18 dom0 
kernel patch but it should work with debian's 2.6.26

--- /etc/init.d/xend.orig       2009-11-19 23:03:44.000000000 +0100
+++ /etc/init.d/xend    2009-11-19 23:03:38.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh 
+#!/bin/sh
 ### BEGIN INIT INFO
 # Provides:          xend
 # Required-Start:    $remote_fs
@@ -41,7 +41,7 @@
        [ "$(awk '($2 == "/proc/xen") { print $2 }' /proc/mounts)" ] && return 0
        log_progress_msg "xenfs"
        [ -d "/proc/xen" ] || return 1
-       mount -t xenfs xenfs /proc/xen || return 1
+       mount -t xenfs xenfs /proc/xen 2>/dev/null
        return 0
 }



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

Kernel: Linux 2.6.31.5-xen-jcd (SMP w/2 CPU cores)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-utils-common depends on:
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  udev                          147-4      /dev/ and hotplug management daemo
ii  xenstore-utils                3.4.2-1    Xenstore utilities for Xen

xen-utils-common recommends no packages.

xen-utils-common suggests no packages.

-- no debconf information





More information about the Pkg-xen-devel mailing list