This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Patch for xend init script

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Patch for xend init script
From: Michael Vrable <mvrable@xxxxxxxxxxx>
Date: Thu, 29 Jul 2004 21:52:10 -0700
Delivery-date: Fri, 30 Jul 2004 05:54:57 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/
I've been setting up Xen as part of a research project I'm working on.
I'm using Debian as the base system for domain 0, and I've noticed that
the example init script provided for starting xend isn't quite right for

The distributed script attempts to source /etc/init.d/functions, but
that file doesn't exist on Debian.  Since the script doesn't seem to
actually use anything from /etc/init.d/functions, it's possible to
remove that line completely.  (I notice from the BitKeeper revision
history that there was some previous effort to get the script to work on
Gentoo, but this fix should be more general.)

A patch follows.  Since I'm relatively new here, I'm not sure if I'm
following the appropriate procedure for submitting a patch.  I'm hoping
someone can point me in the right direction if I'm doing something

--Michael Vrable

diff -urN xeno-unstable.orig/tools/examples/init.d/xend 
--- xeno-unstable.orig/tools/examples/init.d/xend       2004-07-28 
20:05:29.000000000 -0700
+++ xeno-unstable/tools/examples/init.d/xend    2004-07-29 14:41:34.274201145 
@@ -7,8 +7,6 @@
 # chkconfig: 2345 99 00
 # description: Starts and stops the Xen control daemon.
-[ -f /etc/init.d/functions ] && . /etc/init.d/functions || . 
 case "$1" in
        xend start

This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Patch for xend init script, Michael Vrable <=