Patche

Starting vzquota depends on single and therefore on system facility (...)

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

-------------------------
eduotos/openvz.txt · Last modified: 2011/09/01 18:27 by h4v
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
 otosowy pasek