From 484d257d422721f5f84c9a6e8221dde779992e72 Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Fri, 3 May 2019 13:53:57 -0400 Subject: [PATCH] Update NFS service name in systemd unit Resolves: #1702443 --- Update-NFS-service-name-in-systemd-unit.patch | 26 +++++++++++++++++++ gssproxy.spec | 7 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Update-NFS-service-name-in-systemd-unit.patch diff --git a/Update-NFS-service-name-in-systemd-unit.patch b/Update-NFS-service-name-in-systemd-unit.patch new file mode 100644 index 0000000..24e8a69 --- /dev/null +++ b/Update-NFS-service-name-in-systemd-unit.patch @@ -0,0 +1,26 @@ +From aa4f43049d1037d1c23becd78ad2f7dd601132f4 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood +Date: Wed, 24 Apr 2019 12:07:47 -0400 +Subject: [PATCH] Update NFS service name in systemd unit + +Signed-off-by: Robbie Harwood +Reviewed-by: Simo Sorce +Merges: #247 +(cherry picked from commit 1a789a645175d5aea109a3c0831806b94337b20e) +--- + systemd/gssproxy.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/systemd/gssproxy.service.in b/systemd/gssproxy.service.in +index f50f526..ac37df6 100644 +--- a/systemd/gssproxy.service.in ++++ b/systemd/gssproxy.service.in +@@ -2,7 +2,7 @@ + Description=GSSAPI Proxy Daemon + # GSSPROXY will not be started until syslog is + After=syslog.target +-Before=nfs-secure.service nfs-secure-server.service ++Before=rpc-gssd.service + + [Service] + Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache diff --git a/gssproxy.spec b/gssproxy.spec index 29688c8..264390a 100644 --- a/gssproxy.spec +++ b/gssproxy.spec @@ -1,7 +1,7 @@ Name: gssproxy Version: 0.8.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GSSAPI Proxy License: MIT @@ -15,6 +15,7 @@ Source1: rwtab ### Patches ### Patch0: Avoid-uninitialized-free-when-allocating-buffers.patch +Patch1: Update-NFS-service-name-in-systemd-unit.patch ### Dependencies ### Requires: krb5-libs >= 1.12.0 @@ -110,6 +111,10 @@ install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d/gssproxy %systemd_postun_with_restart gssproxy.service %changelog +* Fri May 03 2019 Robbie Harwood - 0.8.2-3 +- Update NFS service name in systemd unit +- Resolves: #1702443 + * Wed May 01 2019 Robbie Harwood - 0.8.2-2 - Avoid uninitialized free when allocating buffers