SLES 12 /etc/sysconfig/nfs is not honoring NFSV4LEASETIME

  • 7016918
  • 19-Oct-2015
  • 19-Oct-2015


SUSE Linux Enterprise Server 12


NFSV4LEASETIME is being set in /etc/sysconfig/nfs.  However, when NFS Server is started, it does not honor the setting.


Update nfs-utils (nfs-client and nfs-kernel-server packages) via the SLES 12 maintenance channel, to version 1.3.0-9.1 or higher. Optionally update nfs-doc as well (to the same version).
Alternate solution if update cannot be performed:
Edit /etc/sysconfig/nfs and set BOTH of the following parameters to the same value (replace xx with the desired value).  The latter parameter may need to be manually added:


A logic error existed in the script /etc/init.d/nfsserver.  This has been corrected in the new nfs-* packages.
The desired logic is (in layman's terms):
If NFSV4LEASETIME is set, use that setting.  If not, set NFSV4LEASETIME to the value of NFSD_V4_GRACE.
(NFSD_V4_GRACE is another parameter which can be set in /etc/sysconfig/nfs, for the same purpose.  Both should be watched for, since different documentation sources mention each.)
Previously, an error in the script had the essential effect that the script would not properly handle one of these being set without the other.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.