diff --git a/Replace-var-run-run-in-gssproxy.service.patch b/Replace-var-run-run-in-gssproxy.service.patch new file mode 100644 index 0000000..4d97098 --- /dev/null +++ b/Replace-var-run-run-in-gssproxy.service.patch @@ -0,0 +1,27 @@ +From 0109ba1868f7c585eca5f41139a7bf43444f5986 Mon Sep 17 00:00:00 2001 +From: Orion Poplawski +Date: Wed, 8 May 2019 08:31:39 -0600 +Subject: [PATCH] Replace /var/run -> /run in gssproxy.service + +Signed-off-by: Orion Poplawski +Reviewed-by: Simo Sorce +Reviewed-by: Robbie Harwood +Merges: #249 +(cherry picked from commit fc17445edc78b9393d26ca6a253fbeb9ed316c1a) +--- + 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 ac37df6..9d3eef0 100644 +--- a/systemd/gssproxy.service.in ++++ b/systemd/gssproxy.service.in +@@ -10,7 +10,7 @@ ExecStart=@sbindir@/gssproxy -D + # These two should be used with traditional UNIX forking daemons + # consult systemd.service(5) for more details + Type=forking +-PIDFile=@localstatedir@/run/gssproxy.pid ++PIDFile=/run/gssproxy.pid + ExecReload=/bin/kill -HUP $MAINPID + + [Install] diff --git a/gssproxy.spec b/gssproxy.spec index 264390a..16ed766 100644 --- a/gssproxy.spec +++ b/gssproxy.spec @@ -1,7 +1,7 @@ Name: gssproxy Version: 0.8.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GSSAPI Proxy License: MIT @@ -16,6 +16,7 @@ Source1: rwtab ### Patches ### Patch0: Avoid-uninitialized-free-when-allocating-buffers.patch Patch1: Update-NFS-service-name-in-systemd-unit.patch +Patch2: Replace-var-run-run-in-gssproxy.service.patch ### Dependencies ### Requires: krb5-libs >= 1.12.0 @@ -111,6 +112,10 @@ install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d/gssproxy %systemd_postun_with_restart gssproxy.service %changelog +* Mon Jul 15 2019 Robbie Harwood - 0.8.2-4 +- Replace /var/run -> /run in gssproxy.service +- Resolves: #1729739 + * Fri May 03 2019 Robbie Harwood - 0.8.2-3 - Update NFS service name in systemd unit - Resolves: #1702443