Skip to contentSkip to conversation

cluster/rgmanager/src/resources nfsclient.sh

Cluster-devel [email protected] 1 participant 1 message Jan 28, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2008-01-28 19:42:43

Modified files:
rgmanager/src/resources: nfsclient.sh

Log message:
Fix #292861 - nfsclient doesn't unexport correctly

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/nfsclient.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.12&r2=1.3.2.13

rgmanager/src/resources/nfsclient.sh +6 -3
@@ -307,13 +307,16 @@
 stop)
 	verify_all || exit $OCF_ERR_ARGS
 
-	if [ "$OCF_RESKEY_nfslock" = "1" ]; then
+	#if [ "$OCF_RESKEY_nfslock" = "1" ]; then
 		#
 		# If the NFS lock workarounds were enabled, unexport from
 		# the world
 		#
-		export OCF_RESKEY_target="*"
-	fi
+		# Per https://bugzilla.redhat.com/show_bug.cgi?id=292861
+		# This breaks unexport!
+		#
+		#export OCF_RESKEY_target="*"
+	#fi
 
 	ocf_log info "Removing export: ${OCF_RESKEY_target}:${OCF_RESKEY_path}"
 	exportfs -u "${OCF_RESKEY_target}:${OCF_RESKEY_path}"