Bug 152151

Summary: Replace NFS error message "clnt_create: RPC: Program not registered" with something useful
Product: File System Reporter: Karl Richter (krichter722)
Component: NFSAssignee: Trond Myklebust (trondmy)
Status: CLOSED INVALID    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.6.5 Subsystem:
Regression: No Bisected commit-id:

Description Karl Richter 2016-08-13 10:25:49 UTC
The NFS error message "clnt_create: RPC: Program not registered" is popular (make a search engine query for proof) and is quite unhelpful. Please replace it with a message explaining what error occurred (i.e. what is expected to occur and what happened instead) and probably instructions how to fix it, e.g. `The client RPC program [/path/to/binary] crashes with return code 2. A running instance is expected to listen on port n in order to make an XMLRPC call to the server [server]`. I'm pretty sure that the message wants to tell us something like that, so why not just do it.
Comment 1 Trond Myklebust 2016-08-13 13:30:43 UTC
This has absolutely nothing at all to do with the kernel.