I use install-post.sh after creating a chroot from scratch with RPM. 
Please consider applying this to the next released vserver tools
package.

--- install-post.sh.orig        2003-08-04 14:15:02.000000000 -1000
+++ install-post.sh     2003-08-04 14:16:03.000000000 -1000
@@ -10,6 +10,10 @@
 if [ $# != 1 ] ; then
        echo install-post.sh vserver
 else
+       if [ ! -d /vservers/$1 ]; then
+               echo "ERROR: /vservers/$1 does not exist."
+               exit 255
+        fi
        VROOT=/vservers/$1
        rm -fr $VROOT/dev
        mkdir $VROOT/dev && chmod 755 $VROOT/dev


Reply via email to