linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rpc.statd: fails to create RPC listeners when restarting nfs-server
@ 2025-08-15 13:37 Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2025-08-15 13:37 UTC (permalink / raw)
  To: Libtirpc-devel Mailing List; +Cc: Linux NFS Mailing list

From: Yongcheng Yang <yoyang@redhat.com>

When rpcbind is stopped and the nfs-server is restarted
rpc.statd failes to create RPC listeners.

Changed rpc-statd-service to Require rpcbind.service

Fixes: https://issues.redhat.com/browse/RHEL-96937
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 systemd/rpc-statd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service
index 660ed861..f5c2e486 100644
--- a/systemd/rpc-statd.service
+++ b/systemd/rpc-statd.service
@@ -3,7 +3,7 @@ Description=NFS status monitor for NFSv2/3 locking.
 Documentation=man:rpc.statd(8)
 DefaultDependencies=no
 Conflicts=umount.target
-Requires=nss-lookup.target rpcbind.socket
+Requires=nss-lookup.target rpcbind.service
 Wants=network-online.target
 Wants=rpc-statd-notify.service
 After=network-online.target nss-lookup.target rpcbind.service
-- 
2.50.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-15 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-15 13:37 [PATCH] rpc.statd: fails to create RPC listeners when restarting nfs-server Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).