File 0001-systemd-Allow-nfs-idmapd.service-to-be-started-witho.patch of Package nfs-utils
From 39e5050139e77397037f67705cf9d97fbe6a1520 Mon Sep 17 00:00:00 2001
Message-ID: <39e5050139e77397037f67705cf9d97fbe6a1520.1747753109.git.antonio.feijoo@suse.com>
In-Reply-To: <cover.1747753109.git.antonio.feijoo@suse.com>
References: <cover.1747753109.git.antonio.feijoo@suse.com>
From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Date: Tue, 20 May 2025 15:47:48 +0200
Subject: [PATCH 1/2] systemd: Allow nfs-idmapd.service to be started without
the server
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@suse.com>
---
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