WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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