File 0009-sm-notify-Notify-hosts-in-background.patch of Package nfs-utils.12699
From ac201cca3fe0f3530fe252e269d4b3dc662a77dc Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
Date: Thu, 15 Jan 2015 06:01:26 -0500
Subject: [PATCH] sm-notify: Notify hosts in background
sm-notify needs to notify hosts in background so the boot
will not hang when the notified hosts do not answer.
Signed-off-by: Steve Dickson <steved@redhat.com>
---
systemd/rpc-statd-notify.service | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service
index 6b13b323e758..941afe552df7 100644
--- a/systemd/rpc-statd-notify.service
+++ b/systemd/rpc-statd-notify.service
@@ -14,6 +14,5 @@ After=nfs-config.service
[Service]
EnvironmentFile=-/run/sysconfig/nfs-utils
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=-/usr/sbin/sm-notify -d $SMNOTIFYARGS
+Type=forking
+ExecStart=-/usr/sbin/sm-notify $SMNOTIFYARGS
--
2.3.0