[pve-devel] r5884 - vzctl/trunk/debian

svn-commits at proxmox.com svn-commits at proxmox.com
Mon May 2 08:12:48 CEST 2011


Author: dietmar
Date: 2011-05-02 08:12:47 +0200 (Mon, 02 May 2011)
New Revision: 5884

Modified:
   vzctl/trunk/debian/changelog
   vzctl/trunk/debian/vzctl.postinst
Log:


Modified: vzctl/trunk/debian/changelog
===================================================================
--- vzctl/trunk/debian/changelog	2011-05-02 05:30:25 UTC (rev 5883)
+++ vzctl/trunk/debian/changelog	2011-05-02 06:12:47 UTC (rev 5884)
@@ -1,6 +1,8 @@
 vzctl (3.0.26-1pve1) unstable; urgency=low
 
   * update to latest available version fromn git (Wed, 27 Apr 2011)
+  
+  * change openvz startup priority from 20 to 21
 
  -- Proxmox Support Team <support at proxmox.com>  Mon, 02 May 2011 06:50:16 +0200
 

Modified: vzctl/trunk/debian/vzctl.postinst
===================================================================
--- vzctl/trunk/debian/vzctl.postinst	2011-05-02 05:30:25 UTC (rev 5883)
+++ vzctl/trunk/debian/vzctl.postinst	2011-05-02 06:12:47 UTC (rev 5884)
@@ -27,7 +27,7 @@
 	fi
 
 	if [ -x "/etc/init.d/vzeventd" ]; then
-		update-rc.d vzeventd defaults >/dev/null
+		update-rc.d vzeventd defaults 20 80 >/dev/null
 	    if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
 		invoke-rc.d vzeventd start || exit $?
 	    else
@@ -35,8 +35,13 @@
 	    fi
 	fi
 
+	if [ -r "/etc/rc2.d/S20vz" ]; then
+	    echo "fixing OpenVZ startup priority";
+	    update-rc.d -f vz remove >/dev/null
+	fi
+
 	if [ -x "/etc/init.d/vz" ]; then
-		update-rc.d vz defaults >/dev/null
+		update-rc.d vz defaults 21 21 >/dev/null
 	    if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
 		invoke-rc.d vz start || exit $?
 	    else




More information about the pve-devel mailing list