rc-scripts/trunk/rc.d/rc.sysinit

glen cvs at pld-linux.org
Fri Feb 10 20:31:47 CET 2006


Author: glen
Date: Fri Feb 10 20:31:44 2006
New Revision: 6959

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Do not mount /proc in vserver

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Feb 10 20:31:44 2006
@@ -16,9 +16,6 @@
 export sscripts=45
 export kscripts=45
 
-# we need /proc mounted before everything
-mount -n -o gid=17 -t proc /proc /proc
-
 # NLS
 if [ -r /etc/sysconfig/i18n ]; then
 	. /etc/sysconfig/i18n
@@ -61,6 +58,9 @@
 . /etc/rc.d/init.d/functions
 
 if ! is_yes "$VSERVER" ; then
+	# we need /proc mounted before everything
+	mount -n -o gid=17 -t proc /proc /proc
+
 	# sysfs is also needed before any other things (under kernel > 2.5)
 	if grep -q sysfs /proc/filesystems 2>/dev/null ; then
 		mount -n -o gid=17 -t sysfs sysfs /sys


More information about the pld-cvs-commit mailing list