CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL4
Changes by:     [EMAIL PROTECTED]       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}"

Reply via email to