Re: [Vserver] Disconnect on vserver build

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Mon 29 Jan 2007 - 12:42:01 GMT
Message-ID: <33375.192.168.101.6.1170074521.squirrel@intranet>

Marc Guyard wrote:
> Hi,
>
> I've a problem to install vserver on a dedicated server.
> In fact, i only access to him with ssh.
> My problem is'nt really the installation but the build.
>
> When i launch a verserver build image ( i follow this tutorial ), after
> the
> second yum, i'm disconnect from my ssh and i cannot reconnect without
> restart the server.
> Do you know why ?

Most likely you told the utils that your host's IP address belonged to the
guest and that it should be brought up and down along with it, so when the
initpost script runs to clean up the guest after installing it, the IP
address is removed as the guest is stopped, leading to a host without IP
addresses.

You really should give the guest a separate IP address, perhaps a private
one if you don't have any spare public ones, to avoid this problem and
many others (like the guests ability to interfere with the host's
daemons).

If you really don't want to use another IP address, you could simply leave
out the network interface on your vserver ... build command line. I think
that will only do the Right Thing(tm) with util-vserver 0.30.213-pre5+
though (i.e., set nodev).

--
Daniel Hokka Zakrisson
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Jan 29 14:25:43 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 29 Jan 2007 - 14:25:50 GMT by hypermail 2.1.8