NOTE: Security Consideration
rpcbindlistens on all network interfaces by default. This is required for remote NFS clients to discover RPC services. Ensure that rpcbind is only exposed on trusted networks and use host-level firewalling or Kubernetes network policies to restrict access to port 111.
This extension provides rpcbind and rpc.statd daemons for NFSv3 file locking support.
- rpcbind: Converts RPC program numbers into universal addresses, required for RPC-based services
- rpc.statd: NSM (Network Status Monitor) service daemon that notifies NFS peers of host restarts
- sm-notify: Companion utility for rpc.statd
These services are essential for:
- NFSv3 mounts with file locking support
- Kubernetes environments using Trident or other NFS-based storage provisioners
- Any scenario requiring POSIX file locking on NFSv3 shares
The extension runs two containerized services:
- rpcbind: Starts first and provides the RPC portmapper service
- rpc.statd: Depends on rpcbind and provides NFS lock state monitoring
Both services start automatically and persist state across reboots in /var/lib/nfs/statd and /var/lib/rpcbind.