Blame SOURCES/nfs-utils-1.3.0-systemd-gssproxy.patch

e19a30
diff -up nfs-utils-1.3.0/systemd/auth-rpcgss-module.service.orig nfs-utils-1.3.0/systemd/auth-rpcgss-module.service
e19a30
--- nfs-utils-1.3.0/systemd/auth-rpcgss-module.service.orig	2017-05-22 11:22:16.064030000 -0400
e19a30
+++ nfs-utils-1.3.0/systemd/auth-rpcgss-module.service	2017-06-06 16:19:05.229155456 -0400
e19a30
@@ -7,8 +7,8 @@
e19a30
 [Unit]
e19a30
 Description=Kernel Module supporting RPCSEC_GSS
e19a30
 DefaultDependencies=no
e19a30
-Before=gssproxy.service rpc-svcgssd.service rpc-gssd.service
e19a30
-Wants=gssproxy.service rpc-svcgssd.service rpc-gssd.service
e19a30
+Before=gssproxy.service rpc-gssd.service
e19a30
+Wants=gssproxy.service rpc-gssd.service
e19a30
 ConditionPathExists=/etc/krb5.keytab
e19a30
 
e19a30
 [Service]
e19a30
diff -up nfs-utils-1.3.0/systemd/nfs-client.target.orig nfs-utils-1.3.0/systemd/nfs-client.target
e19a30
--- nfs-utils-1.3.0/systemd/nfs-client.target.orig	2017-05-22 11:22:16.054029846 -0400
e19a30
+++ nfs-utils-1.3.0/systemd/nfs-client.target	2017-06-06 16:19:26.653588268 -0400
e19a30
@@ -9,7 +9,7 @@ Wants=rpc-statd-notify.service
e19a30
 
e19a30
 # GSS services dependencies and ordering
e19a30
 Wants=auth-rpcgss-module.service
e19a30
-After=rpc-gssd.service rpc-svcgssd.service gssproxy.service
e19a30
+After=rpc-gssd.service gssproxy.service
e19a30
 
e19a30
 [Install]
e19a30
 WantedBy=multi-user.target
e19a30
diff -up nfs-utils-1.3.0/systemd/nfs.conf.man.orig nfs-utils-1.3.0/systemd/nfs.conf.man
e19a30
--- nfs-utils-1.3.0/systemd/nfs.conf.man.orig	2017-05-22 11:22:16.118030830 -0400
e19a30
+++ nfs-utils-1.3.0/systemd/nfs.conf.man	2017-06-06 16:20:11.502494296 -0400
e19a30
@@ -208,15 +208,6 @@ See
e19a30
 for details.
e19a30
 
e19a30
 .TP
e19a30
-.B svcgssd
e19a30
-Recognized values:
e19a30
-.BR principal .
e19a30
-
e19a30
-See
e19a30
-.BR rpc.svcgssd (8)
e19a30
-for details.
e19a30
-
e19a30
-.TP
e19a30
 .B exportfs
e19a30
 Only
e19a30
 .B debug=
e19a30
diff -up nfs-utils-1.3.0/systemd/nfs-server.service.orig nfs-utils-1.3.0/systemd/nfs-server.service
e19a30
--- nfs-utils-1.3.0/systemd/nfs-server.service.orig	2017-05-22 11:22:16.138031137 -0400
e19a30
+++ nfs-utils-1.3.0/systemd/nfs-server.service	2017-06-06 16:16:55.197527187 -0400
e19a30
@@ -14,7 +14,7 @@ Before= rpc-statd-notify.service
e19a30
 
e19a30
 # GSS services dependencies and ordering
e19a30
 Wants=auth-rpcgss-module.service
e19a30
-After=rpc-gssd.service gssproxy.service rpc-svcgssd.service
e19a30
+After=rpc-gssd.service gssproxy.service
e19a30
 
e19a30
 Wants=nfs-config.service
e19a30
 After=nfs-config.service
e19a30
@@ -25,6 +25,7 @@ EnvironmentFile=-/run/sysconfig/nfs-util
e19a30
 Type=oneshot
e19a30
 RemainAfterExit=yes
e19a30
 ExecStartPre=-/usr/sbin/exportfs -r
e19a30
+ExecStartPre=-/bin/sh -c '/bin/kill -HUP `cat /run/gssproxy.pid`'
e19a30
 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS
e19a30
 ExecStop=/usr/sbin/rpc.nfsd 0
e19a30
 ExecStopPost=/usr/sbin/exportfs -au
e19a30
diff -up nfs-utils-1.3.0/systemd/rpc-gssd.service.orig nfs-utils-1.3.0/systemd/rpc-gssd.service
e19a30
--- nfs-utils-1.3.0/systemd/rpc-gssd.service.orig	2014-03-25 11:12:07.000000000 -0400
e19a30
+++ nfs-utils-1.3.0/systemd/rpc-gssd.service	2017-06-06 16:24:08.932290804 -0400
e19a30
@@ -3,7 +3,7 @@ Description=RPC security service for NFS
e19a30
 DefaultDependencies=no
e19a30
 Conflicts=umount.target
e19a30
 Requires=var-lib-nfs-rpc_pipefs.mount
e19a30
-After=var-lib-nfs-rpc_pipefs.mount
e19a30
+After=var-lib-nfs-rpc_pipefs.mount gssproxy.service
e19a30
 
e19a30
 ConditionPathExists=/etc/krb5.keytab
e19a30