From ca7d67021e5b93e4d9af45ce13a05f76b4979f75 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 2 May 2012 14:40:16 -0500 Subject: Do not try to remount /run read only On a diskless system, doing this causes the system to lock up during shutdown. --- init.d/mount-ro.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in index 4b07457..369d544 100644 --- a/init.d/mount-ro.in +++ b/init.d/mount-ro.in @@ -23,7 +23,7 @@ start() # Bug 381783 local rc_svcdir=$(echo $RC_SVCDIR | sed 's:/lib\(32\|64\)\?/:/lib(32|64)?/:g') - local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|${rc_svcdir}" x= fs= + local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|/run|${rc_svcdir}" x= fs= m="$m|/bin|/sbin|/lib(32|64)?|/libexec" # RC_NO_UMOUNTS is an env var that can be set by plugins local IFS="$IFS:" -- cgit v1.2.3