[PATCH] rpc.statd: fails to create RPC listeners when restarting nfs-server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yongcheng Yang <yoyang@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux