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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Daemonize xcs

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Daemonize xcs
From: Allen Short <washort@xxxxxxxxxx>
Date: 2005年1月31日 22:24:38 GMT
Delivery-date: 2005年1月31日 22:26:55 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <1106958493.27397.3.camel@xxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On 2005年1月28日 16:28:13 -0800, Jared Rhine <jared@xxxxxxxxxxx> wrote:
>> xcs should daemonize itself to prevent this from happening.
>
> Actually, I'd really like an option to keep xend and xensv in the
> foreground (and log to stdout), as I want to run them under runit (like
> daemontools) for XenCD. I haven't gotten there yet, but if anyone
> touches this code, it'd be nice to leave this possibility open in the
> design.
Yes, definitely. Twisted has code for doing daemonization/pidfile management 
that is much more flexible than xend's current approach. I looked into 
refactoring it to use that as well as adding support for Twisted's 
remote-object protocol, but I kept finding things about xend's architecture I 
wanted to change, so I gave up temporarily :) I will probably revisit this 
after finishing my current project, which just talks to xend via its HTTP 
protocol. Basically what needs to be done is to remove entirely the code in 
SrvDaemon that starts things up, and use 'twistd' to start it instead.
Allen
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] 2.6.11-rc2 SMP fixes , Rik van Riel
Next by Date: [Xen-devel] [patch 1/5] xen: blkfront vbd bugfix , Jody Belka
Previous by Thread: Re: [Xen-devel] [PATCH] Daemonize xcs , Anthony Liguori
Next by Thread: [Xen-devel] Is networking working in unstable? , Jacob Gorm Hansen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /