Hello community,

here is the log from the commit of package nfs-utils for openSUSE:Factory 
checked in at 2014-09-18 07:12:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfs-utils (Old)
 and      /work/SRC/openSUSE:Factory/.nfs-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfs-utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfs-utils/nfs-utils.changes      2014-07-16 
16:36:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nfs-utils.new/nfs-utils.changes 2014-09-18 
07:12:09.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Sep  4 02:55:22 UTC 2014 - [email protected]
+
+- nfsserver.init: allow $NFSD_V4_GRACE to set the lease
+  time if NFSV4LEASETIME is not set, as some documentation
+  suggests this.
+  Also set NFSv4 and NLM grace time to make the NFSv4 lease time
+  as having them different at boot time doesn't make sense.
+  (bnc#892809)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------

++++++ nfsserver.init ++++++
--- /var/tmp/diff_new_pack.OyFCR6/_old  2014-09-18 07:12:10.000000000 +0200
+++ /var/tmp/diff_new_pack.OyFCR6/_new  2014-09-18 07:12:10.000000000 +0200
@@ -93,6 +93,11 @@
     * ) NFS4_SERVER_MINOR_VERSION=0
 esac
 
+if [ -n "$NFSV4LEASETIME" ] ; then
+    # Documentation inconsistency.
+    NFSV4LEASETIME=$NFSD_V4_GRACE
+fi
+
 check_for_nfsdfs() {
     HAVE_NFSDFS="no"
     while read dummy type ; do
@@ -213,9 +218,12 @@
       if [ "$NFS4_SERVER_MINOR_VERSION" != "0" ]; then
        VERSION_PARAMS="$VERSION_PARAMS --nfs-version 4 --nfs-version 
4.$NFS4_SERVER_MINOR_VERSION"
       fi
-      if [ -n "$NFSV4LEASETIME" -a -f /proc/fs/nfsd/nfsv4leasetime ]; then
-        echo "$NFSV4LEASETIME" > /proc/fs/nfsd/nfsv4leasetime
-      fi
+      for fl in /proc/fs/nfsd/nfsv4leasetime /proc/fs/nfsd/nfsv4gracetime 
/proc/sys/fs/nfs/nlm_grace_period
+      do
+          if [ -n "$NFSV4LEASETIME" -a -f $fl ]; then
+            echo "$NFSV4LEASETIME" > $fl
+          fi
+      done
 
       nfs4_bind_mounts
       # svcgssd; gssd; idmapd

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to