aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-10 17:18:54 +0200
committerDee'Kej <deekej@linuxmail.org>2018-05-17 15:18:03 +0200
commit402e41490782fc0549326be1a5d98bfa1f4ce35b (patch)
tree021473d8d007780c37918cd368090674a2c04a66
parente811abf000f525932f6334ce0c06adb3d2860a6d (diff)
downloadinitscripts-402e41490782fc0549326be1a5d98bfa1f4ce35b.tar
initscripts-402e41490782fc0549326be1a5d98bfa1f4ce35b.tar.gz
initscripts-402e41490782fc0549326be1a5d98bfa1f4ce35b.tar.bz2
initscripts-402e41490782fc0549326be1a5d98bfa1f4ce35b.tar.xz
initscripts-402e41490782fc0549326be1a5d98bfa1f4ce35b.zip
sysconfig/readonly-root: Clarify the usage of readonly-root.
... Without appending the 'ro' to mount options of '/' mount point the system will be still mounted as read-write, even when READONLY=yes.
-rw-r--r--sysconfig/readonly-root2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/readonly-root b/sysconfig/readonly-root
index bd7c5b3b..80da7ad5 100644
--- a/sysconfig/readonly-root
+++ b/sysconfig/readonly-root
@@ -1,4 +1,6 @@
# Set to 'yes' to mount the system filesystems read-only.
+# NOTE: It's necessary to append 'ro' to mount options of '/' mount point in
+# /etc/fstab as well, otherwise the READONLY option will not work.
READONLY=no
# Set to 'yes' to mount various temporary state as either tmpfs
# or on the block device labelled RW_LABEL. Implied by READONLY