Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: basic xend problems
Manuel Bouyer --> port-xen (2010-05-04 12:33:53 +0200):
> I'm not sure xend is really designed to be stopped/restarted.
At least there are start, stop, restart, reload and other functions
defined (see xen/xend/server/SrvDaemon.py).
Not that they'd really work for me, but maybe the xend rc.d script
should not only use that `start' function, but also `stop', `restart'
and `reload' (see attached patch)? This way `stop' would at least take
a finite amount of time... ;-)
> The binaries from bulk build are linked against the x11 expact.
> You don't need the whole x11 binairies, only libexpact.
Ok, thanks. I just rebuilt xen{kernel,tools}33 using pkgsrc HEAD and it
pulled in textproc/expat.
> It's strange it could start the first time though.
Indeed.
Regards, Jukka
--
This email fills a much-needed gap in the archives.
--- sysutils/xentools33/files/xend.sh.orig 2009-02-02 18:34:36.000000000
+0100
+++ sysutils/xentools33/files/xend.sh 2010-05-05 20:58:04.000000000 +0200
@@ -13,6 +13,10 @@ command="@PREFIX@/sbin/xend"
command_interpreter="@RCD_INTERPRETER@"
start_cmd="@ECHO@ Starting ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command}
start"
start_precmd="xen_precmd"
+stop_cmd="@ECHO@ Stopping ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command}
stop"
+restart_cmd="@ECHO@ Restarting ${name}. && PATH=${PATH}:@PREFIX@/sbin
${command} restart"
+reload_cmd="@ECHO@ Reloading ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command}
reload"
+extra_commands="reload"
privcmd_path="@PROCPATH@/xen/privcmd"
xen_precmd()
Home |
Main Index |
Thread Index |
Old Index