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 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit