SUSE Support

Here When You Need Us

SLES 12 NFS Clients logging frequent rpc.gssd errors

This document (7016917) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12

Situation

Each time an NFS mount is performed, the NFS client machine logs the following:
 
rpc.gssd[29590]: ERROR: gssd_refresh_krb5_machine_credential: no usable keytab entry found in keytab /etc/krb5.keytab for connection with host <nfs-server-name>
rpc.gssd[29590]: ERROR: No credentials found for connection to server <nfs-server-name>
 
These were logged on systems where rpc.gssd was not expected to be needed.

Resolution

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).

Cause

In some older cases, there could be kernel problems if rpc.gssd wasn't running.  Therefore, it was always started.  However, if it was running when it wasn't truly needed, and the /etc/krb5.keytab file not present, the above errors would be logged.  The older kernel issue has been fixed.  However, the nfs client initialization script (/etc/init.d/nfs) was still set to load rpc.gssd in all cases.
 
The /etc/init.d/nfs script has been changed to only enable rpc.gssd if a /etc/krb5.keytab file actually exists.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016917
  • Creation Date: 19-Oct-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.