Re: [Vserver] setting the xid of a guest

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 28 Sep 2006 - 23:34:19 BST
Message-ID: <451C4DEB.7010507@hozac.com>

Adnet Ghislain wrote:
> i created a guest without giving the context at creation time. It does
> not run so i tried to add a number in context but this does not help.
> Any hint ? :)
>
>
> mycomp01:/usr/local/etc/vservers/S1.myvserver01# more
> /usr/local/etc/vservers/S1.myvserver01/context
> 10
> mycomp01:/usr/local/etc/vservers/S1.myvserver01# vserver S1.myvserver01
> start
> vshelper.init: can not determine xid of vserver 'S1.myvserver01';
> returned value was ''

This means your guest isn't starting any process, and thus the context
is gone before the start process is even finished. You could:
- change the initstyle to plain (echo plain >
/usr/local/etc/vservers/S1.myvserver01/apps/init/style),
- set the persistent flag (echo ^38 >>
/usr/local/etc/vservers/S1.myvserver01/flags),
- or simply chroot to your guest and run whatever command is needed to
make sure a service is started on boot.

-- 
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Sep 28 23:34:35 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 28 Sep 2006 - 23:34:43 BST by hypermail 2.1.8