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

Re: [Xen-devel] Re: [PATCH] setsid() exception in xend



On Mon, Nov 28, 2005 at 10:58:09PM +0900, Horms wrote:

> [Snip!]
>
> Sure, I can eliminate the intermediate file descriptor,
> I'll send a fresh patch tomorrow. 

That's great, thank you.

> On a related issue, can you clarify what the race is that it
> is there to avoid? It seems cumbersome as you point out.

It means that the xend wrapper, i.e. tools/misc/xend aka /usr/sbin/xend does
not exit until the daemon is ready to receive commands.  If you were using the
init.d scripts to start Xend and then start some guest domains, you would have
a race in that case between daemon startup and the subsequent script that
would be trying to execute commands at the same time.

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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