From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nivedita Singhvi Subject: (Patch Trivial] restart issues (was :Re: reboot issues and xm hangs {FC4]) Date: Wed, 02 Mar 2005 17:24:56 -0800 Message-ID: <42266768.2010506@us.ibm.com> References: <20050303004330.GA14930@immunix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000400000805090406010505" In-Reply-To: <20050303004330.GA14930@immunix.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Tony Jones Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000400000805090406010505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------000400000805090406010505 Content-Type: text/plain; name="xendomain.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xendomain.patch" --- 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 } --------------000400000805090406010505-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click