| To: | xen-devel@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-devel] xenstored startup - race condition |
| From: | Bastian Blank <bastian@xxxxxxxxxxxx> |
| Date: | Fri, 7 Mar 2008 13:14:51 +0100 |
| Delivery-date: | 2008年3月07日 04:15:16 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| User-agent: | Mutt/1.5.13 (2006年08月11日) |
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008Server , Tim Deegan |
|---|---|
| Next by Date: | Re: [Xen-devel] xenstored startup - race condition , Bastian Blank |
| Previous by Thread: | [Xen-devel] [PATCH 3/3] doc - Remove unused/obsolete LaTeX features , Bastian Blank |
| Next by Thread: | Re: [Xen-devel] xenstored startup - race condition , Bastian Blank |
| Indexes: | [Date] [Thread] [Top] [All Lists] |