Port-xen archive

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

Re: XEN v4.1.2 network troubles



On Sat, 22 Sep 2012 11:34:39 +0200
Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:

> > [...]
> > root%asus.immnet.dk@localhost:/root # /etc/rc.d/xend status
> > xend is not running
> > root%asus.immnet.dk@localhost:/root # 
> 
> It seems to be a known issue after the receont upgarde to 4.1.2.
> It seems nobody had time to look at this yet.
> But as you noticed, xend have started anyway.

I've looked at it just now. The rc.d script is missing the
command_interpreter. The following should fix it (the substitution in
the pkg's Makefile is already in place):

RCS file: /cvsroot/pkgsrc/sysutils/xentools41/files/xend.sh,v
retrieving revision 1.2
diff -u -u -r1.2 xend.sh
--- files/xend.sh       7 Oct 2011 22:37:06 -0000       1.2
+++ files/xend.sh       22 Sep 2012 10:27:09 -0000
@@ -8,6 +8,7 @@
 name="xend"
 rcvar=$name
 command="@PREFIX@/sbin/xend"
+command_interpreter="@RCD_INTERPRETER@"
 start_cmd="echo Starting ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command} 
start"
 pidfile="/var/run/xend.pid"
 

dieter


Home | Main Index | Thread Index | Old Index