diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2012-05-02 14:40:16 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-05-02 14:42:58 -0500 |
commit | ca7d67021e5b93e4d9af45ce13a05f76b4979f75 (patch) | |
tree | 7b31d717697d6baf5dc57b910cf8b679ffdb051b /init.d/mount-ro.in | |
parent | 8c82637e76dcc6a076bdc5e17c142ec8999364a1 (diff) |
Do not try to remount /run read only
On a diskless system, doing this causes the system to lock up during
shutdown.
Diffstat (limited to 'init.d/mount-ro.in')
-rw-r--r-- | init.d/mount-ro.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in index 4b07457b..369d5440 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:" |