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

Re: [Xen-devel] [PATCH] Fix xend restarting problem on NetBSD

While searching for a man page to show you the check_pidfile options
I've found that you can also set a variable with the path to the
interpreter, so no need to expand the script. The only strange thing
is that I have to use SIGKILL to kill xend, SIGTERM seems to do
nothing (also xend spawns two processes, but I guess this is normal).

Attached an updated patch, with a simpler script.

Thanks for making me look at it again, Roger.

2011/7/15 Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>:
> Roger Pau Monnà writes ("[Xen-devel] [PATCH] Fix xend restarting problem on 
> NetBSD"):
>> This patch fixes a problem with xend restart on NetBSD
> Hi. ÂThanks for the patch. ÂBut I think this patch does more than you
> say it does ?
> It introduces a new xen_startcmd, xen_stop and xen_status. ÂPresumably
> these were previously provided by standard NetBSD machinery ? ÂWhy is
> that standard machinery unsuitable for start and status ?
>> (the rc.d script was unable to find the pid of the process, so it
>> was not restarted).
> Why wasn't the standard NetBSD machinery able to find the pid ?
> How does its approach differ from check_pidfile ?
> Sorry if these are all stupid questions. ÂIf you can refer me to some
> documentation about the NetBSD init system I may be able to pretend to
> be less ignorant :-).
> Thanks,
> Ian.

Attachment: patch-xend-rc
Description: Binary data

Xen-devel mailing list



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