summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/start/post/S31ganesha-start.sh
diff options
context:
space:
mode:
authorShwetha K Acharya <sacharya@redhat.com>2020-09-10 13:16:12 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2020-09-10 12:47:16 +0000
commite96bb6d806c72485be8d6938053547bc5e753b44 (patch)
treeb1ca13564a3c7b5bc51b9fbd62309bf62208f92f /extras/hook-scripts/start/post/S31ganesha-start.sh
parent41ee60d2759d46fb88200fed90497df873a4bfc0 (diff)
nfs-ganesha: gluster_shared_storage fails to automount on node reboot on rhel 8
The patch https://review.gluster.org/#/c/glusterfs/+/24934/, changes mount point of gluster_shared_storage from /var/run to /run to address the issue of symlink at mount path in fstab. NOTE: mount point /var/run is symlink to /run The required changes with respect to gluster_shared_storage mount path are introduced with this patch in nfs-ganesha. Fixes: #1475 Change-Id: I9c7677a053e1291f71476d47ba6fa2e729f59625 Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
Diffstat (limited to 'extras/hook-scripts/start/post/S31ganesha-start.sh')
-rwxr-xr-xextras/hook-scripts/start/post/S31ganesha-start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/start/post/S31ganesha-start.sh b/extras/hook-scripts/start/post/S31ganesha-start.sh
index 90ba6bc73a5..7ad6f23ad06 100755
--- a/extras/hook-scripts/start/post/S31ganesha-start.sh
+++ b/extras/hook-scripts/start/post/S31ganesha-start.sh
@@ -4,7 +4,7 @@ OPTSPEC="volname:,gd-workdir:"
VOL=
declare -i EXPORT_ID
ganesha_key="ganesha.enable"
-GANESHA_DIR="/var/run/gluster/shared_storage/nfs-ganesha"
+GANESHA_DIR="/run/gluster/shared_storage/nfs-ganesha"
CONF1="$GANESHA_DIR/ganesha.conf"
GLUSTERD_WORKDIR=