nfs3: "rpc.gssd WARNING: can't create tcp rpc_clnt to server" "RPC: Remote system error - Connection timed out"
Issue
When using rpc.gssd
to secure NFSv3 FS using krb5
, we encountered the following errors :
rpc.gssd WARNING: can't create tcp rpc_clnt to server ... : RPC: Remote system error - Connection timed out
These errors are not easy to reproduce and are not seen very oftenly. However, they result in "permission denied" errors in user FS access.
Looking at the nfs-utils
package, it seems to be due to the fact that a hard coded default timeout of 5 seconds is reached when rpc.gssd is contacting the NFS server to negotiate the gss security context for the user.
The timeout should be increased when gss security is used.
Environment
- Red Hat Enterprise Linux (RHEL) 6 and 7
- NFSv3
- Kerberos
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.