From 0e358fa5f7190f84574824b5629835abf32823a3 Mon Sep 17 00:00:00 2001 From: Meghana M Date: Mon, 15 Jun 2015 08:43:44 +0000 Subject: NFS-Ganesha: Automatically export vol that was exported before vol restart Consider a volume that is exported via NFS-Ganesha. Stopping this volume will automatically unexport the volume. Starting this volume should automatically export it. Although the logic was already there, there was a bug in it. Fixing the same by introducing a hook script. Also with the new CLI options, the hook script S31ganesha-set.sh is no longer required. Hence, removing the same. Adding a comment to tell the user that one of the CLI commands will take a few minutes to complete. This is a backport of the patch merged on master, http://review.gluster.org/#/c/11247/ Change-Id: I1c16a978b9e2093a4298ea3024d031fd1a5bb577 BUG: 1232335 Signed-off-by: Meghana Madhusudhan Reviewed-on: http://review.gluster.org/11259 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: soumya k Reviewed-by: Niels de Vos --- glusterfs.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index b822304cee8..c6c61204306 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1139,10 +1139,10 @@ fi %config %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh %config %{_sharedstatedir}/glusterd/hooks/1/add-brick/pre/S28Quota-enable-root-xattr-heal.sh %config %{_sharedstatedir}/glusterd/hooks/1/set/post/S30samba-set.sh -%config %{_sharedstatedir}/glusterd/hooks/1/set/post/S31ganesha-set.sh %config %{_sharedstatedir}/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh %config %{_sharedstatedir}/glusterd/hooks/1/start/post/S29CTDBsetup.sh %config %{_sharedstatedir}/glusterd/hooks/1/start/post/S30samba-start.sh +%config %{_sharedstatedir}/glusterd/hooks/1/start/post/S31ganesha-start.sh %config %{_sharedstatedir}/glusterd/hooks/1/stop/pre/S30samba-stop.sh %config %{_sharedstatedir}/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh %config %{_sharedstatedir}/glusterd/hooks/1/reset/post/S31ganesha-reset.sh @@ -1235,6 +1235,9 @@ fi %changelog +* Mon Jun 15 2015 Niels de Vos +- Replace hook script S31ganesha-set.sh by S31ganesha-start.sh (#1231738) + * Fri Jun 12 2015 Aravinda VK - Added rsync as dependency to georeplication rpm (#1231213) -- cgit