File 0002-nfs-service-Added-gssproxy-support.patch of Package nfs-utils.12699
From 2ae393ce6f64bd6463ff510da9c20db5164a3c98 Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
Date: Mon, 22 Sep 2014 15:15:38 -0400
Subject: [PATCH] nfs-service: Added gssproxy support
When kernel have gssproxy support the the gssproxy
daemon should be used to manage the GSSAPI creds.
So this patch adds "calls" to the gssproxy daemon
from the NFS server systemd unit file.
When gssproxy is installed, gssproxy will be start
and rpc.svcgssd will not be. When gssproxy is not
installed the rpc.svcgssd daemon will be started.
Note, there are already existing hooks in the
rpc-svcgssd service file that will ensure the
gssproxy will be started before rpc.svcgssd
which allows the script not to start rpc.svcsdd
when gssproxy is installed and running.
Signed-off-by: Steve Dickson <steved@redhat.com>
---
systemd/nfs-server.service | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
index fd213a3995de..1048c5cbbf68 100644
--- a/systemd/nfs-server.service
+++ b/systemd/nfs-server.service
@@ -2,13 +2,13 @@
Description=NFS server and services
Requires= network.target proc-fs-nfsd.mount rpcbind.target
Requires= nfs-mountd.service
-Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service rpc-svcgssd.service
-Wants=auth-rpcgss-module.service
+Wants=rpc-statd.service nfs-idmapd.service auth-rpcgss-module.service
+Wants=rpc-gssd.service gssproxy.service rpc-svcgssd.service
Wants=rpc-statd-notify.service
After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service
After= nfs-idmapd.service rpc-statd.service
-After= rpc-gssd.service rpc-svcgssd.service
+After= rpc-gssd.service gssproxy.service rpc-svcgssd.service
Before= rpc-statd-notify.service
Wants=nfs-config.service
--
2.3.0