[vserver] newvserver: chroot-sh: open("/etc/apt/sources.list"): No such file or directory

From: Ekkard Gerlach <ekkardgerlach_at_aiai.de>
Date: Sun 08 Jun 2008 - 22:17:03 BST
Message-ID: <20080608211703.GD28397@rex3.site>

deb1:/etc/vservers# newvserver --vsroot /var/lib/vservers/ --hostname test --domain domain.net --ip 192.168.0.70/24
--dist etch --mirror http://ftp2.de.debian.org/debian/ --interface eth0
s_context: 0
chroot-sh: open("/etc/apt/sources.list"): No such file or directory

>>> Executing post install script ...

secure-mount: chdir("/tmp"): No such file or directory
/etc/vservers/test/fstab:2:1: failed to mount fstab-entry
vcontext: execvp("bash"): No such file or directory

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
        i=0
        while [ $i -lt 30 ]; do
            sleep 1
            let ++i
        done
        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 'test'
'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...
newvserver: error: vserver-build failure. Cannot continue.

Who can help me? etch is installed and updated.

thx
Ekkard
Received on Sun Jun 8 22:17:50 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 08 Jun 2008 - 22:17:51 BST by hypermail 2.1.8