nfs-server: Use rpcbind.service instead of rpbind.target
Subsystems (2)
PATCH 1/1 nfs-server: Use rpcbind.service instead of rpbind.target
To trigger the systemd socket activation support
in rpcbind, nfs-service needs to Requires/After
rpcbind.service instead of rpbind.target
Signed-off-by Steve Dickson <[email protected]>
--- systemd/nfs-server.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
systemd/nfs-server.service +2 -2
@@ -1,13 +1,13 @@ [Unit] Description=NFS server and services DefaultDependencies=no -Requires= network.target proc-fs-nfsd.mount rpcbind.target +Requires= network.target proc-fs-nfsd.mount rpcbind.service Requires= nfs-mountd.service Wants=rpc-statd.service nfs-idmapd.service Wants=rpc-statd-notify.service After= local-fs.target -After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service +After= network.target proc-fs-nfsd.mount rpcbind.service nfs-mountd.service After= nfs-idmapd.service rpc-statd.service Before= rpc-statd-notify.service
Signature · 1 line
2.4.3
Quoted 5 lines · Steve Dickson
To trigger the systemd socket activation support
in rpcbind, nfs-service needs to Requires/After
rpcbind.service instead of rpbind.targetSigned-off-by Steve Dickson <[email protected]>
Committed...
steved.
Quoted 25 lines
--- systemd/nfs-server.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)systemd/nfs-server.service +2
-2@@ -1,13 +1,13 @@ [Unit] Description=NFS server and services DefaultDependencies=no -Requires= network.target proc-fs-nfsd.mount rpcbind.target +Requires= network.target proc-fs-nfsd.mount rpcbind.service Requires= nfs-mountd.service Wants=rpc-statd.service nfs-idmapd.service Wants=rpc-statd-notify.service After= local-fs.target -After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service +After= network.target proc-fs-nfsd.mount rpcbind.service nfs-mountd.service After= nfs-idmapd.service rpc-statd.service Before= rpc-statd-notify.service