From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 28 Jan 2008 19:42:43 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/resources nfsclient.sh Message-ID: <20080128194243.18067.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- cluster/rgmanager/src/resources/nfsclient.sh 2007/05/03 15:02:47 1.3.2.12 +++ cluster/rgmanager/src/resources/nfsclient.sh 2008/01/28 19:42:43 1.3.2.13 @@ -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}"