HomeFreeBSD

nfsd: Update console message for no session found

Description

nfsd: Update console message for no session found

The NFSv4.1/4.2 server generates a console message that indicates
that there is no session. I was until recently perplexed w.r.t. how
this could occur. It turns out that the common cause is multiple NFS
clients with the same /etc/hostid.

The host uuid is used by the FreeBSD NFSv4.1/4.2 client as a unique
identifier for the client. If multiple clients use the same host uuid,
this indicates to the NFSv4.1/4.2 server that they are the same client
and confusion occurs.

This trivial patch modifies the console message to suggest that the
client's /etc/hostid needs to be checked for uniqueness.

(cherry picked from commit b875d4f5ddcbe0ce06f22650dd471b7518546dd6)

Details

Provenance
rmacklemAuthored on Aug 28 2022, 1:31 AM
Parents
rGc1cec62c0db0: if_dwc: fix reinitialization with changed MAC
Branches
Unknown
Tags
Unknown