Package: util-vserver Version: 0.30.216-pre2864-1 Severity: normal Tags: patch
--- Please enter the report below this line. --- In file vserver-build.debootstrap the global variable workdir is used only when debootstrap is not installed. When debootstrap is installed $workdir remains emty and the statement $_RM -fr "$workdir" fails, resulting in base.setSuccess to report failure. --- System information. --- Architecture: i386 Kernel: Linux 2.6.32-trunk-vserver-686-bigmem Debian Release: squeeze/sid 500 unstable www.debian-multimedia.org 500 unstable oss.oracle.com 500 unstable ftp.debian.org 500 testing ftp.debian.org 500 stable ftp.gr.debian.org 1 experimental ftp.debian.org --- Package information. --- Depends (Version) | Installed =================================-+-================== debconf (>= 0.5) | 1.5.28 OR debconf-2.0 | libc6 (>= 2.3.6-6~) | 2.10.2-5 libnss3-1d (>= 3.12.0~1.9b1) | 3.12.5-1 iproute | 20091226-1 net-tools | 1.60-23 make | 3.81-7 debconf | 1.5.28 util-linux (>= 2.13.1.1-1) | 2.16.2-0 Recommends (Version) | Installed ==========================-+-=========== binutils | 2.20-5 debootstrap | 1.0.20 Suggests (Version) | Installed ====================================-+-=============== linux-image-2.6 (>= 2.6.16-17) | vlan | iptables | 1.4.6-2 wget | 1.12-1.1 procps | 1:3.2.8-2 module-init-tools | 3.11-1 yum |
--- /usr/lib/util-vserver/vserver-build.debootstrap.orig 2009-11-29 01:46:23.000000000 +0200 +++ /usr/lib/util-vserver/vserver-build.debootstrap 2010-01-21 16:13:16.000000000 +0200 @@ -169,5 +169,5 @@ fixupDebian "$VDIR" test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -$_RM -fr "$workdir" +test -z "workdir" || $_RM -fr "$workdir" base.setSuccess