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

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