Package: vserver-debiantools Version: 0.6.0 Severity: important newvserver command in 0.6.1 version fails to create a new vserver on 2 differently configured systems I have. The error seems to result from the bug fix that was introduced into the script in the 0.6.1 version to solve #482155.
The script fails precisely at the line where it calls the vserver-build command. Other side effects include creating a directory named: --exclude='sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils' My work around was using 0.6.0 version, since it was already working on my systems. One can also work around it by changing the script a bit and playing with the quotes around the --include and --exclude options which cause the problem. here is the command: # bash -x newvserver --hostname helm --domain parkyeri.net \ > --ip 192.168.199.71 --context 71 --mirror http://ftp.tr.debian.org/debian Here is the result of the script, running with the bash -x to see the errors: + VERSION=0.6 + shopt -s extglob + CONTEXT= + VROOTDIR=/etc/vservers/.defaults/vdirbase + INSTALL_PACKAGES= + '[' -n en_US.UTF-8 ']' + '[' en_US.UTF-8 '!=' C ']' + INSTALL_PACKAGES=' locales' + EXTRA_PACKAGES= + REMOVE_PACKAGES=sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils + REMOVE_LINKS='klogd hwclock.sh setserial urandom networking umountfs halt reboot mountvirtfs mountall.sh mountnfs.sh ifupdown' + POST_INSTALL_SCRIPT= + POST_INSTALL_HOST_SCRIPT= + ARCH= + DIST=lenny + MIRROR=http://ftp.uk.debian.org/debian + MIRROR_NON_US=http://non-us.debian.org/debian-non-US + MIRROR_SECURITY=http://security.debian.org + INTERFACE=eth0 + PKGCACHE=0 + DEBCONF_FILE_DB= + '[' -r /etc/vservers/newvserver-vars ']' + . /etc/vservers/newvserver-vars + parse_args --hostname helm --domain parkyeri.net --ip 192.168.199.71 --context 71 --mirror http://ftp.tr.debian.org/debian + '[' 10 -gt 0 ']' + case "$1" in + case "$2" in + VHOST=helm + shift 2 + '[' 8 -gt 0 ']' + case "$1" in + case "$2" in + VDOMAIN=parkyeri.net + shift 2 + '[' 6 -gt 0 ']' + case "$1" in + case "$2" in + IP=192.168.199.71 + shift 2 + '[' 4 -gt 0 ']' + case "$1" in + CONTEXT=71 + shift 2 + '[' 2 -gt 0 ']' + case "$1" in + case "$2" in + MIRROR=http://ftp.tr.debian.org/debian + shift 2 + '[' 0 -gt 0 ']' ++ which dig + '[' -x /usr/bin/dig ']' + '[' -n 192.168.199.71 -a '(' -z helm -o -z parkyeri.net ')' ']' + '[' -n helm -a -n parkyeri.net -a -n eth0 -a -z 192.168.199.71 ']' + '[' -n helm -a -n parkyeri.net -a -n 192.168.199.71 ']' + IP_ADDR=192.168.199.71 + MIRROR=http://ftp.tr.debian.org/debian + MIRROR_NON_US=http://non-us.debian.org/debian-non-US + MIRROR_SECURITY=http://security.debian.org + VROOTDIR=/etc/vservers/.defaults/vdirbase + cat /proc/self/status + grep '^\(VxID:[^0-9]0\|s_context:[^0-9]0\)$' VxID: 0 + '[' -x /usr/bin/id ']' ++ id -u + '[' 0 -ne 0 ']' + '[' -d /etc/vservers/.defaults/vdirbase/ARCHIVES/lenny ']' + '[' -n '' ']' + CONTEXT_ARGUMENT= + '[' -n 71 ']' + CONTEXT_ARGUMENT='--context 71' + TMP_INCLUDE='--include='\'' locales'\''' + TMP_EXCLUDE='--exclude='\''sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils'\''' + /usr/sbin/vserver helm build -m debootstrap --rootdir /etc/vservers/.defaults/vdirbase --hostname helm --interface eth0:192.168.199.71 --context 71 -- -d lenny -m http://ftp.tr.debian.org/debian -- '--include='\''' 'locales'\''' '--exclude='\''sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0,iptables,pciutils'\''' 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/helm/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 'helm' '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... + echo 'newvserver: error: vserver-build failure. Cannot continue.' newvserver: error: vserver-build failure. Cannot continue. + exit 1 -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.22-pybigvserver (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages vserver-debiantools depends on: ii binutils 2.18.1~cvs20080103-4 The GNU assembler, linker and bina ii debootstrap 1.0.9 Bootstrap a basic Debian system ii iproute 20080417-1 networking and traffic control too ii rsync 3.0.2-2 fast remote file copy program (lik ii util-vserver 0.30.215-2 user-space tools for Linux-VServer Versions of packages vserver-debiantools recommends: ii dnsutils 1:9.4.2-10 Clients provided with BIND -- no debconf information and here is another system, a laptop I reproduced it on: -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (700, 'testing'), (600, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-vserver-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages vserver-debiantools depends on: ii binutils 2.18.1~cvs20080103-4 The GNU assembler,linker and bina ii debootstrap 1.0.9 Bootstrap a basic Debian system ii iproute 20080417-1 networking and traffic control too ii rsync 3.0.2-2 fast remote file copy program (lik ii util-vserver 0.30.215-2 user-space tools for Linux-VServer Versions of packages vserver-debiantools recommends: ii dnsutils 1:9.4.2-10 Clients provided with BIND -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

