summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2014-09-22 15:15:38 -0400
committerSteve Dickson <steved@redhat.com>2014-09-25 15:34:58 -0400
commit2ae393ce6f64bd6463ff510da9c20db5164a3c98 (patch)
tree4377668ab05a15e4e17146a753900828a9602828
parentc59301841b5ab644a85c2806f9231a9a2886b031 (diff)
downloadnfs-utils-2ae393ce6f64bd6463ff510da9c20db5164a3c98.tar.gz
nfs-utils-2ae393ce6f64bd6463ff510da9c20db5164a3c98.tar.xz
nfs-utils-2ae393ce6f64bd6463ff510da9c20db5164a3c98.zip
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>
-rw-r--r--systemd/nfs-server.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
index fd213a3..1048c5c 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