The -P option, when specified opens a pidfile to a given path.
Sponsored by: Juniper Networks, Inc.
Differential D50624
nfsd, rpcbind: add -P option to support pidfile path khng on May 31 2025, 7:31 AM. Authored by Tags None Referenced Files
Details
The -P option, when specified opens a pidfile to a given path. Sponsored by: Juniper Networks, Inc.
Diff Detail
Event TimelineComment Actions I'll leave the minor nits up to you.
Comment Actions By the way, given that rpcbind and nfsd will install a default pidfile to /var/run even without specifying -P: shall we document that somewhere in RELNOTES and the commit message, or do we make the errno == EEXIST case a warn() call instead of errx()? I am thinking of that because some people might spin up multiple nfsd in their setup without using the rc.d/nfsd script, and with different bound IP for each nfsd spun. Comment Actions If they spin up multiple instances of the nfsd, it will be badly broken. As such, it should be a fatal error for nfsd, imho. |