Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common-ha: enable and disable selinux ganesha_use_fusefs
Starting in Fedora 26 and RHEL 7.4 there are new targeted policies in selinux which include a tuneable to allow ganesha.nfsd to access the gluster (FUSE) shared_storage volume where ganesha maintains its state. N.B. rpm doesn't have a way to distinguish between RHEL 7.3 or 7.4 so it can't be enabled for RHEL at this time. /usr/sbin/semanage is in policycoreutils-python in RHEL (versus policycoreutils-python-utils in Fedora.) Once RHEL 7.4 GAs we may also wish to specify the version for RHEL 7 explicitly, i.e. Requires: selinux-policy >= 3.13.1-160. But beware, the corresponding version in Fedora 26 seems to be selinux-policy-3.13.1.258 or so. (Maybe earlier versions, but that's what's currently in the F26 beta. release-3.10 is the upstream master branch for glusterfs-ganesha. For release-3.11 and later storhaug needs a similar change, which is tracked by linux-ha-storage/storhaug#11 Maybe at some point we would want to consider migrating the targeted policies for glusterfs (and nfs-ganesha) from selinux-policy to a glusterfs-selinux (and nfs-ganesha-selinux) subpackage? Change-Id: I04a5443edd00636cbded59a2baddfa98095bf7ac Signed-off-by: Kaleb S. KEITHLEY <[email protected]> Reviewed-on: https://review.gluster.org/17597 Smoke: Gluster Build System <[email protected]> Reviewed-by: Niels de Vos <[email protected]> Reviewed-by: jiffin tony Thottan <[email protected]> CentOS-regression: Gluster Build System <[email protected]> Signed-off-by: Jiffin Tony Thottan <[email protected]>
- Loading branch information