[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xenstored startup - race condition
Hi folks The Debian packages carries a patch since some time which fixes a race condition in the xenstore startup. Sometimes xenconsoled is not able to connect the xenstore and just exits. A second try works, so xenstored was just not yet ready. Proposed fix: - xend asks xenstored to also fork, this also reparents it to init. - xenstored delays the exit of the parent until properly initialized and ready to accept connections. - xend waits for exit of this process. Implementation: Either fork, execv and waitpid or subprocess. Bastian -- Yes, it is written. Good shall always destroy evil. -- Sirah the Yang, "The Omega Glory", stardate unknown _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |