Replace /var/run -> /run in gssproxy.service

Resolves: #1729739
This commit is contained in:
Robbie Harwood 2019-07-15 13:55:48 -04:00
parent 484d257d42
commit ca2f30e4c0
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 0109ba1868f7c585eca5f41139a7bf43444f5986 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Wed, 8 May 2019 08:31:39 -0600
Subject: [PATCH] Replace /var/run -> /run in gssproxy.service
Signed-off-by: Orion Poplawski <orion@nwra.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
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]

View File

@ -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 <rharwood@redhat.com> - 0.8.2-4
- Replace /var/run -> /run in gssproxy.service
- Resolves: #1729739
* Fri May 03 2019 Robbie Harwood <rharwood@redhat.com> - 0.8.2-3
- Update NFS service name in systemd unit
- Resolves: #1702443