Subject: Re: [vserver] Create a new virtual on debian - some problem
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 19 Apr 2010 19:20:16 +0200

On Mon, Apr 19, 2010 at 03:09:55PM +0200, For@ll wrote:
> Hi,
> 
> I try create a new vserver virtual machine on debian lenny using a
> newvserver
> 
> newvserver --hostname web --domain www.foo.com --ip 10.10.0.104/32
> --dist lenny --interface eth0 --verbose --context 1000 and I have some
> error:
> 
> >>> Executing post install script ...
> 
>  Removing any system startup links for /etc/init.d/bootlogd ...
>  Removing any system startup links for /etc/init.d/bootmisc.sh ...
>  Removing any system startup links for /etc/init.d/checkfs.sh ...
>  Removing any system startup links for /etc/init.d/checkroot.sh ...
>  Removing any system startup links for /etc/init.d/glibc.sh ...
>    /etc/rcS.d/S01glibc.sh
>  Removing any system startup links for /etc/init.d/halt ...
>  Removing any system startup links for /etc/init.d/hostname.sh ...
>  Removing any system startup links for /etc/init.d/hwclock.sh ...
>  Removing any system startup links for /etc/init.d/hwclockfirst.sh ...
>  Removing any system startup links for /etc/init.d/killprocs ...
>  Removing any system startup links for /etc/init.d/mountall-bootclean.sh ...
>  Removing any system startup links for /etc/init.d/mountall.sh ...
>  Removing any system startup links for /etc/init.d/mountdevsubfs.sh ...
>  Removing any system startup links for /etc/init.d/mountkernfs.sh ...
>  Removing any system startup links for /etc/init.d/mountnfs-bootclean.sh ...
>  Removing any system startup links for /etc/init.d/mountnfs.sh ...
>  Removing any system startup links for /etc/init.d/mountoverflowtmp ...
>  Removing any system startup links for /etc/init.d/mtab.sh ...
>  Removing any system startup links for /etc/init.d/procps ...
>  Removing any system startup links for /etc/init.d/reboot ...
>  Removing any system startup links for /etc/init.d/rmnologin ...
>  Removing any system startup links for /etc/init.d/stop-bootlogd ...
>  Removing any system startup links for /etc/init.d/stop-bootlogd-single ...
>  Removing any system startup links for /etc/init.d/umountfs ...
>  Removing any system startup links for /etc/init.d/umountnfs.sh ...
>  Removing any system startup links for /etc/init.d/umountroot ...
>  Removing any system startup links for /etc/init.d/urandom ...
> 
> ln: creating symbolic link `fd': File exists
> mv: cannot stat `/etc/vservers/.defaults/vdirbase/web/etc/inittab': No
> such file or directory
> /etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory
> error: '/etc/init.d/rc' exited outside the expected code flow.

> A new virtual machine not working , if I try run vserver web start I get
> next error messages

> vserver web start
> /etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory
> error: '/etc/init.d/rc' exited outside the expected code flow.

> ii  linux-image-2.6.26-2-vserver-686-bigmem      2.6.26-21lenny4
> ii  util-vserver                                 0.30.216~r2772-6          
> ii  vserver-debiantools                          0.6.3                     

> Anyone have ideas what's wrong?

- get a more recent kernel (e.g. 2.6.33.x)
- get more recent util-vserver (e.g. 0.30.216-pre2882)
- avoid using vserver-debiantools

why, because the abovementioned versions are broken
and not supported (at least not by Linux-VServer :)

best,
Herbert

> For@ll