Re: [vserver] Trying to add guests on Wheezy

From: Laurens Vets <laurens_at_daemon.be>
Date: Mon 07 Apr 2014 - 15:25:24 BST
Message-ID: <6d087f6306d52349a39e9f8e01c2b2eb@daemon.be>

And debootstrap_1.0.59_all.deb

On 2014-04-06 11:43, Laurens Vets wrote:
> On 2014-04-04 18:34, Daniel Hokka Zakrisson wrote:
>> 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?
>
> util-vserver: 0.30.216-pre3054; Nov 19 2013, 10:24:54
>
> It's from the psand repo.
Received on Mon Apr 7 15:25:37 2014

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 07 Apr 2014 - 15:25:37 BST by hypermail 2.1.8