Blame 0058-98usrmount-mount-usr.sh-do-not-mount-usr-read-only.patch
|
Harald Hoyer |
83ebbb |
From 1b91369455d2011b7eaa13e0a892d4dc914197c4 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
83ebbb |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
83ebbb |
Date: Mon, 23 Jan 2012 11:32:06 +0100
|
|
Harald Hoyer |
83ebbb |
Subject: [PATCH] 98usrmount/mount-usr.sh: do not mount /usr read-only
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
https://bugzilla.redhat.com/show_bug.cgi?id=782897
|
|
Harald Hoyer |
83ebbb |
---
|
|
Harald Hoyer |
83ebbb |
modules.d/98usrmount/mount-usr.sh | 2 +-
|
|
Harald Hoyer |
83ebbb |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
83ebbb |
index fc205d5..b24446a 100755
|
|
Harald Hoyer |
83ebbb |
--- a/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
83ebbb |
+++ b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
83ebbb |
@@ -11,7 +11,7 @@ mount_usr()
|
|
Harald Hoyer |
83ebbb |
# check, if we have to mount the /usr filesystem
|
|
Harald Hoyer |
83ebbb |
while read _dev _mp _fs _opts _rest; do
|
|
Harald Hoyer |
83ebbb |
if [ "$_mp" = "/usr" ]; then
|
|
Harald Hoyer |
83ebbb |
- echo "$_dev $NEWROOT/$_mp $_fs ${_opts},ro $_rest"
|
|
Harald Hoyer |
83ebbb |
+ echo "$_dev $NEWROOT/$_mp $_fs ${_opts} $_rest"
|
|
Harald Hoyer |
83ebbb |
_usr_found="1"
|
|
Harald Hoyer |
83ebbb |
break
|
|
Harald Hoyer |
83ebbb |
fi
|