Re: [Vserver] problems shuting down vserver with the same IP of the host

From: Herbert Poetzl <>
Date: Wed 05 Apr 2006 - 04:28:31 BST
Message-ID: <>

On Tue, Apr 04, 2006 at 07:35:09PM +0200, eyck wrote:
> > >|/echo "" > /etc/vservers/geekzone/interfaces/0/ip/|
> > >|/echo "29" > /etc/vservers/geekzone/interfaces/0/prefix/|

> > You forgot to touch /etc/vservers/geekzone/interfaces/0/nodev so the
> > vserver script will try to add and remove that address.

> Is it impossible for vserver scripts to try and avoid such situation?
> This is not the first person complaining about this... and this is
> akin re-formating all your hardrives because you chose wrong font
> color behaviour...especially for remotely hosted vservers... ..and
> it's not exactly well-documented... and even if it was, not fixing
> your bugs just because you described them sowhere is not an excuse.

ahem, well, if you put an 'ifconfig eth0 down' into
rc.local it will also shutdown your eth0 interface, no?

the point here is, if you tell the tools to create _and_
remove the ip on startup and shutdown, they will do so.

now for the syntax and/or changes to the config:

 'dev' = eth0 definitely means: please create that ip
 'nodev' definitely means, don't create that ip

 neither dev nor nodev should probably give an error
 (no idea what it currently does)

and of course, you might create a wiki page explaining
the stuff (but please check that it doesn't already


> --
> Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9
> Total Existance Failure
> _______________________________________________
> Vserver mailing list
Vserver mailing list
Received on Wed Apr 5 04:28:53 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Apr 2006 - 04:28:57 BST by hypermail 2.1.8