Re: [vserver] Trying to add guests on Wheezy

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Fri 04 Apr 2014 - 17:34:53 BST
Message-ID: <8d226fcd6123077ba14a6b530cdfd1c2.squirrel@intranet.hozac.com>

Hi,

Laurens Vets wrote:
> Hello list,
>
> I'm trying to add guests in wheezy with:
>
> vserver HOSTNAME build -m debootstrap --hostname HOSTNAME.DOMAIN
> --context 5 \
> --interface eth0:IPADDRESS/32 \
> --initstyle sysv \
> --root /vservers \
> --flags VIRT_MEM \
> -- -d wheezy -m http://ftp.us.debian.org/debian -- --verbose
> --components main,contrib,non-free \
> --include
> openssh-client,openssh-server,locales,locales-all,less,iproute,\
>
> htop,vim-syntax-gtk,rsync,build-essential,libssl-dev,tcpdump,libglib2.0dev,\
>
> liblua5.1-0-dev,libpcre3-dev,subversion,sudo,psmisc,python,strace,git-core,\
> apg,byobu,vim,nullmailer,w3m,bind9-host,wget,curl
>
> but fails with the following error:
>
> E: No such script: wheezy
> chroot-sh: open("/etc/apt/sources.list"): No such file or directory
> secure-mount: chdir("/tmp"): No such file or directory
> /etc/vservers/diyu/fstab:2:1: failed to mount fstab-entry
> vcontext: execvp("bash"): No such file or directory
> wait(): No child processes
>
> An error occured while executing the vserver startup sequence; when
> there are no other messages, it is very likely that the init-script
> (bash -c
> exec > /dev/null
> exec 2> /dev/null
> trap 'kill -s 9 -- -1; exit 0' INT
> sleep 30
> kill -s 15 -- -1
> sleep 1
> kill -s 9 -- -1) failed.
>
> Common causes are:
> * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm'
> build
> method knows how to deal with this, but on existing installations,
> appending 'true' to this file will help.
>
>
> Failed to start vserver 'diyu'
> 'vserver ... suexec' is supported for running vservers only;
> aborting...
> 'vserver ... suexec' is supported for running vservers only;
> aborting...
> 'vserver ... suexec' is supported for running vservers only;
> aborting...
>
> Any ideas on what might be going on?

What version of util-vserver are you using? What version of debootstrap?

Daniel
Received on Fri Apr 4 17:34:54 2014

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 04 Apr 2014 - 17:34:54 BST by hypermail 2.1.8