1 |
commit: ca7d67021e5b93e4d9af45ce13a05f76b4979f75 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 2 19:40:16 2012 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 2 19:42:58 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ca7d6702 |
7 |
|
8 |
Do not try to remount /run read only |
9 |
|
10 |
On a diskless system, doing this causes the system to lock up during |
11 |
shutdown. |
12 |
|
13 |
--- |
14 |
init.d/mount-ro.in | 2 +- |
15 |
1 files changed, 1 insertions(+), 1 deletions(-) |
16 |
|
17 |
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in |
18 |
index 4b07457..369d544 100644 |
19 |
--- a/init.d/mount-ro.in |
20 |
+++ b/init.d/mount-ro.in |
21 |
@@ -23,7 +23,7 @@ start() |
22 |
# Bug 381783 |
23 |
local rc_svcdir=$(echo $RC_SVCDIR | sed 's:/lib\(32\|64\)\?/:/lib(32|64)?/:g') |
24 |
|
25 |
- local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|${rc_svcdir}" x= fs= |
26 |
+ local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|/run|${rc_svcdir}" x= fs= |
27 |
m="$m|/bin|/sbin|/lib(32|64)?|/libexec" |
28 |
# RC_NO_UMOUNTS is an env var that can be set by plugins |
29 |
local IFS="$IFS:" |