http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594783
------------------------- /etc/vz/dists/scripts/set_ugid_quota.sh
--- set_ugid_quota.sh 2010-08-29 12:44:39.000000000 +0000
+++ set_ugid_quota.sh.works 2010-08-29 12:44:58.000000000 +0000
@@ -32,6 +32,16 @@ if [ -z "$MAJOR" ]; then
exit 0
fi
echo -e '#!/bin/sh
### BEGIN INIT INFO # Provides: vzquota # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start vzquota at the end of boot # Description: This command is used to configure and see disk quota statistics for Containers. ### END INIT INFO
start() {
[ -e "/dev/'${DEVFS}'" ] || mknod /dev/'${DEVFS}' b '$MAJOR' '$MINOR'
rm -f /etc/mtab >/dev/null 2>&1
-------------------------