File 0002-systemd-rpc-statd.service-add-IgnoreOnIsolate-yes.patch of Package nfs-utils.12300

From bd41471256d5c2abb3312dfe7e84bf3295472392 Mon Sep 17 00:00:00 2001
From: NeilBrown <>
Date: Wed, 28 Nov 2018 14:46:17 +1100
Subject: [PATCH] systemd/rpc-statd.service - add IgnoreOnIsolate=yes

If you run
  systemctl isolate
then all services not needed by are stopped.
This currently includes rpc-statd, which is a problem.

Systemd doesn't know that rpc-statd.service is needed by, or more accurately, because
sometimes it isn't.
It is started dynamically by mount.nfs when a v3 or v2 filesystem
is mounted (not when v4 is mounted) - so systemd doesn't see the connection.

mount units default to IgnoreOnIsolate=yes, as mounts are expected to be
left mounted when you run "systemctl isolate ....".  As rpc-statd.service
is started by a mount, and needed for some mounts, it makes sense for it
to declare IgnoreOnIsolate=yes too.
With this declaration in place rpc.statd remains running when
  systemctl isolate
is run.

Signed-off-by: NeilBrown <>
 systemd/rpc-statd.service |    1 +
 1 file changed, 1 insertion(+)

--- a/systemd/rpc-statd.service
+++ b/systemd/rpc-statd.service
@@ -6,6 +6,7 @@ rpcbind.socke rpcbind.socket
openSUSE Build Service is sponsored by