nfs-utils/0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
Neil Brown 56601d6192 - new upstream nfs-utils-1.3.1
This brings numerous fixes, particularly to gssd and
  nfsdcltrack.  It incorporates all the upstreamable
  patches we had:
- Delete  nfsdcltrack.sbin.patch
- Delete  start-statd.patch
- 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  0002-Centralize-dependencies-on-the-auth-unit.patch
  Patches from 1.3.2-rc, which look useful
- Convert from /etc/init.d startup scripts to full
  systemd integration.
  The upstream standard names are "nfs-client" and "nfs-server"
  rather than "nfs" and "nfsserver", so local "nfs" "nfsserver"
  aliases are created and "rcXXX" links are provided for all 4.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=134
2014-11-05 00:53:10 +00:00

38 lines
1.2 KiB
Diff

From 12a95edae598ba0c63a30b07d7b3529871e145e2 Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
Date: Mon, 29 Sep 2014 11:23:39 -0400
Subject: [PATCH 1/2] nfs-client.target: Removed a ordering cycle with
nfs-server.service
On a VM that boots very fast and with out kerberos
enabled a systemd ordering cycle happens between
nfs-client and nfs-server units when both were
enabled.
Having nfs-client start the gssd daemons in the
same matter as the nfs-server does ('After=') seemed
to eliminated the ordering cycle.
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
systemd/nfs-client.target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd/nfs-client.target b/systemd/nfs-client.target
index 474f5e9ad74b..87a1ce8cec8f 100644
--- a/systemd/nfs-client.target
+++ b/systemd/nfs-client.target
@@ -7,7 +7,7 @@ Wants=remote-fs-pre.target
# start that on demand if needed.
Wants=rpc-gssd.service rpc-svcgssd.service auth-rpcgss-module.service
Wants=nfs-blkmap.service rpc-statd-notify.service
-Before=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
+After=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
[Install]
WantedBy=multi-user.target
--
2.1.1