From 4a9a5362f0b74046b7f161d485b2ffb44c027ead Mon Sep 17 00:00:00 2001 From: Jiffin Tony Thottan Date: Wed, 23 Nov 2016 16:04:26 +0530 Subject: glusterd/ganesha : handle volume reset properly for ganesha options The "gluster volume reset" should first unexport the volume and then delete export configuration file. Also reset option is not applicable for ganesha.enable if volume value is "all". This patch also changes the name of create_export_config into manange_export_config Change-Id: Ie81a49e7d3e39a88bca9fbae5002bfda5cab34af BUG: 1397795 Signed-off-by: Jiffin Tony Thottan Reviewed-on: http://review.gluster.org/15914 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: soumya k Reviewed-by: Kaleb KEITHLEY --- glusterfs.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index afaf3b0958c..a142fca512f 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1058,7 +1058,6 @@ exit 0 %{_libexecdir}/ganesha/* %{_prefix}/lib/ocf/resource.d/heartbeat/* %{_sharedstatedir}/glusterd/hooks/1/start/post/S31ganesha-start.sh -%{_sharedstatedir}/glusterd/hooks/1/reset/post/S31ganesha-reset.sh %if ( 0%{!?_without_georeplication:1} ) %files geo-replication @@ -1272,6 +1271,9 @@ exit 0 %endif %changelog +* Thu Nov 24 2016 Jiffin Tony Thottan +- remove S31ganesha-reset.sh from hooks (#1397795) + * Thu Sep 22 2016 Kaleb S. KEITHLEY - python-ctypes no long exists, now in python stdlib (#1378436) -- cgit