nfs-utils/nfs-utils-2.3.1-systemd-gssproxy-restart.patch
Scott Mayhew e536b89f78 Updated to the latest release: nfs-utils-2-8-2 (RHEL-67786)
Also some clean up:
- Removed duplicate mount.nfs and nfsidmap man page declarations in the
  files section for nfsv4-client-utils.
- Removed unused nfs-utils-2.5.4-nfsdcltrack-uint64_t.patch file.

Resolves: RHEL-65826
Resolves: RHEL-67041
Resolves: RHEL-67168
Resolves: RHEL-67786
Resolves: RHEL-68575
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
2024-12-10 17:42:36 -05:00

12 lines
679 B
Diff

diff -up nfs-utils-2.5.2/systemd/nfs-server.service.orig nfs-utils-2.5.2/systemd/nfs-server.service
--- nfs-utils-2.5.2/systemd/nfs-server.service.orig 2020-12-16 12:31:27.677558163 -0500
+++ nfs-utils-2.5.2/systemd/nfs-server.service 2020-12-16 12:33:56.751806659 -0500
@@ -23,6 +23,7 @@ Type=oneshot
RemainAfterExit=yes
ExecStartPre=-/usr/sbin/exportfs -r
ExecStart=/bin/sh -c '/usr/sbin/nfsdctl autostart || /usr/sbin/rpc.nfsd'
+ExecStart=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi'
ExecStop=/bin/sh -c '/usr/sbin/nfsdctl threads 0 || /usr/sbin/rpc.nfsd 0'
ExecStopPost=/usr/sbin/exportfs -au
ExecStopPost=/usr/sbin/exportfs -f