On Mon, May 02, 2005 at 12:38:47AM +0200, Werner Schalk wrote:
> Hi,
> 
> apologies for not providing all information necessary. As I said I am trying 
> to copy an existing vserver to create a new one. So I created a little perl 
> script that basically does the following:
> 
> - Copy the entire vserver (template) directory (/vservers/template) to a new 
> one (/vservers/customer1)
> - Copy all the config files in /etc/vservers/template 
> to /etc/vservers/customer1
> - Edit /etc/passwd and /etc/shadow inside of /vservers/customer1
> - Edit the IP, context number, nodename and name files 
> in /etc/vservers/customer1
> - Correct the /etc/vservers/.defaults/vdirbase/customer1 link to point 
> to /etc/vservers/customer1
> 
> Optionally I will (whenever this thing works) edit /etc/hostname, sshd_config 
> inside the new vserver etc.
> 
> I am on Gentoo with version 0.30.205-r1 of the util-vserver and kernel 
> 2.6.11-rc3-vs1.9.4.
> 
> Whenever I try to start the new vserver I get:
> 
> # vserver test321 start
>  * Caching service dependencies...

IIRC gentoo has the 'habit' to store information
which services are currently 'started' in some 
/var/* dir ... did you copy a stopped or running
guest? if it was running, then gentoo might not
know that it has been stopped ;)
(removing those files should help)

> And that's it?! How can I debug this, how can I solve this? Any ideas?

you could use 'vserver --debug <name> start' but
it would probably just show that the rc script
in your guest is executed as expected ...

best,
Herbert

> Thanks and all the best,
> Werner
> _______________________________________________
> Vserver mailing list
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to