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

(Patch Trivial] restart issues (was :Re: [Xen-devel] reboot issues and xm hangs {FC4])



Tony Jones wrote:

Running 'init.d/xend restart', stops xend, waits, but fails to restart it.

Running 'init.d/xend start' gets things going again.

Similar issue but 'xend start' didn't work. On rebooting dom0,
didn't come up either. This is only tangential, but I think
it would help to have an unconditional remove of the lockfile
in init.d/xendomains. I think xend and xm are getting borked
during a shutdown of a domain, and I'm not sure the lockfile
gets cleared anywhere else - so upon reboot of dom0, domains
don't get automatically built. (Minor nit). I'm probably
missing something but I don't see the point of the xm return
check and conditional remove(?)..

thanks,
Nivedita



--- xendomains  2005-02-27 20:37:44.000000000 -0800
+++ xendomains.new      2005-03-02 17:01:33.664928000 -0800
@@ -96,9 +96,10 @@
 
     xm shutdown --all --wait --halt
 
-    RETVAL=$?
+#    RETVAL=$?
 
-    [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
+#    [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
+    rm -f $LOCKFILE
 
     on_fn_exit
 }

 


Rackspace

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