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:17:39 +0200
commitd3fdd87fede9ced2b576c212c77e0a159faeb8d5 (patch)
treed8a3ffe76a108125938cba26dc22d8ac068f7a7e
parentfd269fff7f638b40372fb1cecbf2b74fcb2d079a (diff)
downloadinitscripts-d3fdd87fede9ced2b576c212c77e0a159faeb8d5.tar
initscripts-d3fdd87fede9ced2b576c212c77e0a159faeb8d5.tar.gz
initscripts-d3fdd87fede9ced2b576c212c77e0a159faeb8d5.tar.bz2
initscripts-d3fdd87fede9ced2b576c212c77e0a159faeb8d5.tar.xz
initscripts-d3fdd87fede9ced2b576c212c77e0a159faeb8d5.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