From 55a9aaa9fff96e4c19e575690f5490a408fc6367 Mon Sep 17 00:00:00 2001 From: Bob Furu Date: Mon, 16 Nov 2020 10:38:14 -0500 Subject: [PATCH] Fix ISSUE-23216 - add RHEL note --- modules/storage-persistent-storage-nfs-selinux.adoc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/storage-persistent-storage-nfs-selinux.adoc b/modules/storage-persistent-storage-nfs-selinux.adoc index 86f627d494..ae1b7fa036 100644 --- a/modules/storage-persistent-storage-nfs-selinux.adoc +++ b/modules/storage-persistent-storage-nfs-selinux.adoc @@ -5,20 +5,17 @@ [id="nfs-selinux_{context}"] = SELinux -By default, SELinux does not allow writing from a Pod to a remote -NFS server. The NFS volume mounts correctly, but is read-only. +{op-system-base-full} and {op-system-first} systems are configured to use SELinux on remote NFS servers by default. -To enable writing to a remote NFS server, follow the below procedure. +For non-{op-system-base} and non-{op-system} systems, SELinux does not allow writing from a pod to a remote NFS server. The NFS volume mounts correctly but it is read-only. You will need to enable the correct SELinux permissions by using the following procedure. .Prerequisites -* The `container-selinux` package must be installed. This package provides -the `virt_use_nfs` SELinux boolean. +* The `container-selinux` package must be installed. This package provides the `virt_use_nfs` SELinux boolean. .Procedure -* Enable the `virt_use_nfs` boolean using the following command. -The `-P` option makes this boolean persistent across reboots. +* Enable the `virt_use_nfs` boolean using the following command. The `-P` option makes this boolean persistent across reboots. + [source,terminal] ----