1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00

Fix ISSUE-23216 - add RHEL note

This commit is contained in:
Bob Furu
2020-11-16 10:38:14 -05:00
committed by openshift-cherrypick-robot
parent 1086870d7e
commit 55a9aaa9ff

View File

@@ -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]
----