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?
Received on Fri Apr 4 15:14:06 2014