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] [PATCH 1/3] xenstored - postpone fork after initializati

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] xenstored - postpone fork after initialization
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Mar 2008 16:20:40 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Bastian Blank <bastian@xxxxxxxxxxxx>
Delivery-date: Thu, 27 Mar 2008 09:21:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C411164B.1E676%keir.fraser@xxxxxxxxxxxxx>
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>
References: <20080326110016.GA20300@xxxxxxxxxxxxxxxxxxxxxxx> <C411164B.1E676%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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 --
> if you're going to daemonise it makes sense to do it as early as possible.

FWIW it's not only good practice on Solaris but needed for 100% correct
SMF behaviour: when the startup method returns the service is expected
to be 100% ready to go

regards
john

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