[PATCH 1/2] systemd: Allow nfs-idmapd.service to be started without the server

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

 



rpc.idmapd may be needed in the client if nfs4_disable_idmapping is
set to 0. By replacing BindsTo= with PartOf=, nfs-idmapd.service can
be started independently, and also affected if nfs-server.service is
started or stopped.

Signed-off-by: Antonio Alvarez Feijoo <antonio.feijoo@xxxxxxxx>
---
 systemd/nfs-idmapd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service
index d820f10c..3afdcea0 100644
--- a/systemd/nfs-idmapd.service
+++ b/systemd/nfs-idmapd.service
@@ -6,7 +6,7 @@ Requires=rpc_pipefs.target
 After=rpc_pipefs.target local-fs.target network-online.target
 Wants=network-online.target
 
-BindsTo=nfs-server.service
+PartOf=nfs-server.service
 
 [Service]
 Type=forking
-- 
2.43.0





[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