[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Patch for xend init script

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.