Package: jailer Version: 0.4-8 I'm using jailer to create a chroot for pdns and pdns-recursor.
'/usr/sbin/updatejail /etc/jailer.conf pdns' gives the following error message: jail: /var/chroot/pdns /var/chroot/pdns-recursor config: /etc/jailer.conf /usr/sbin/updatejail: line 21: test: /var/chroot/pdns: binary operator expected After looking into updatejail i would suggest the following patch: --- /usr/sbin/updatejail 2003-10-28 02:09:53.000000000 +0100 +++ updatejail 2006-08-10 11:30:17.000000000 +0200 @@ -12,13 +12,13 @@ echo "Usage: upratejail <config.file> <jail identifier>" else - JAIL=`cat $1 | grep Root: | grep $2 | awk '{print $2}'` + JAIL=`cat $1 | grep Root: | grep "$2$" | awk '{print $2}'` echo "jail: " $JAIL echo "config: " $1 read - if test -d $JAIL + if test -d "$JAIL" then cd $JAIL -- Mario Manno <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]