Bug#385308: [Pkg-xen-devel] Bug#385308: Please provide way to run xend in the foreground, without daemonizing

Andras Korn korn-debbugs at chardonnay.math.bme.hu
Fri Sep 1 16:35:02 UTC 2006


On Wed, Aug 30, 2006 at 03:08:21PM +0200, Bastian Blank wrote:

> On Wed, Aug 30, 2006 at 02:21:07PM +0200, Andras Korn wrote:
> > it would be nice to run xend under the supervision of runit. xenconsoled and
> > xenstored already provide relevant switches (-i and --no-fork).
> 
> They are started by xend, so please provide concret informations.

OK, they don't work when not started by xend: xend can't connect to the
xenstored socket, which is strange because unixclient can. I guess xend
removes and recreates the socket even if xenstored is running, or something
like that.

I'm now back to running xenconsoled and xenstored from xend, but xenconsoled
sometimes fails (apparently when a domU crashes and is restarted before its
console can be attached to), and is not restarted by xend.

It would really be a lot nicer to have them supervised by runit separately,
so that if any of them were to fail, they could be restarted automatically.

Andras

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/>	QOTD:
     Money can't buy friends, but you can afford a better class of enemy.




More information about the Pkg-xen-devel mailing list