From: Bastian Blank <bastian@waldi.eu.org>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 1/3] xenstored - postpone fork after initialization
Date: Thu, 27 Mar 2008 12:27:05 +0100 [thread overview]
Message-ID: <20080327112705.GA9173@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <C411164B.1E676%keir.fraser@eu.citrix.com>
On Thu, Mar 27, 2008 at 09:15:55AM +0000, Keir Fraser wrote:
> In any case I think it's bad practice to daemonise after initialisation --
The daemons I just checked disagree with you. They want to provide
errors if the initialization fails, which is only possible before the
parent exits.
> Perhaps a better way to go would be to wait for the stdout pipe to be
> half-closed? Or to pass switch -P to xenstored and wait for the daemon pid
> to be written to the stdout pipe?
Well, find the real problem. In my tests it properly responds to the
clients.
Bastian
--
Killing is stupid; useless!
-- McCoy, "A Private Little War", stardate 4211.8
next prev parent reply other threads:[~2008-03-27 11:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 11:00 [PATCH 1/3] xenstored - postpone fork after initialization Bastian Blank
2008-03-27 9:15 ` Keir Fraser
2008-03-27 11:27 ` Bastian Blank [this message]
2008-03-27 11:36 ` Keir Fraser
2008-03-27 16:20 ` John Levon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080327112705.GA9173@wavehammer.waldi.eu.org \
--to=bastian@waldi.eu.org \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.