SVN: rc-scripts/trunk/rc.d/rc.sysinit
glen
glen at pld-linux.org
Thu May 30 19:56:53 CEST 2013
Author: glen
Date: Thu May 30 19:56:52 2013
New Revision: 12666
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
rc.sysinit: make sure /proc is mounted first
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Thu May 30 19:56:52 2013
@@ -176,14 +176,14 @@
RC_BOOTLOG=
fi
-if ! is_yes "$VSERVER" ; then
+if ! is_yes "$VSERVER"; then
+ # we need /proc mounted before everything
+ is_fsmounted proc /proc || mount -n /proc || mount -n -o gid=17,hidepid=2 -t proc /proc /proc
+
if [ -d /run ]; then
is_fsmounted tmpfs /run || mount -n -t tmpfs run /run
fi
- # we need /proc mounted before everything
- is_fsmounted proc /proc || mount -n /proc || mount -n -o gid=17,hidepid=2 -t proc /proc /proc
-
# Early sysctls
sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
More information about the pld-cvs-commit
mailing list