Add nfs-secure services to gssproxy systemd unit file.
This commit is contained in:
parent
f6735aa3f3
commit
70a8ba9f78
31
gssproxy-systemd.patch
Normal file
31
gssproxy-systemd.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From df40fa2e840e6a1f1ad32343fa39724409431067 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gdeschner@redhat.com>
|
||||||
|
Date: Wed, 29 May 2013 15:58:34 +0200
|
||||||
|
Subject: [PATCH] systemd: Make sure we start before nfs-secure services.
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
They might want to use gssproxy so we need to run in advance.
|
||||||
|
|
||||||
|
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
|
||||||
|
Reviewed-by: Simo Sorce <simo@redhat.com>
|
||||||
|
---
|
||||||
|
proxy/systemd/gssproxy.service.in | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/proxy/systemd/gssproxy.service.in b/proxy/systemd/gssproxy.service.in
|
||||||
|
index 8c0be48..950d8ae 100644
|
||||||
|
--- a/proxy/systemd/gssproxy.service.in
|
||||||
|
+++ b/proxy/systemd/gssproxy.service.in
|
||||||
|
@@ -2,6 +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
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=@sbindir@/gssproxy -D
|
||||||
|
--
|
||||||
|
1.8.1.4
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: gssproxy
|
Name: gssproxy
|
||||||
Version: 0.2.2
|
Version: 0.2.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: GSSAPI Proxy
|
Summary: GSSAPI Proxy
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -9,6 +9,7 @@ URL: http://fedorahosted.org/gss-proxy
|
|||||||
Source0: http://fedorahosted.org/released/gss-proxy/%{name}-%{version}.tar.gz
|
Source0: http://fedorahosted.org/released/gss-proxy/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
Patch0: gssproxy-cred_store.patch
|
Patch0: gssproxy-cred_store.patch
|
||||||
|
Patch1: gssproxy-systemd.patch
|
||||||
|
|
||||||
%global servicename gssproxy
|
%global servicename gssproxy
|
||||||
%global pubconfpath %{_sysconfdir}/gssproxy
|
%global pubconfpath %{_sysconfdir}/gssproxy
|
||||||
@ -53,6 +54,7 @@ A proxy for GSSAPI credential handling
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p2 -b .cred_store
|
%patch0 -p2 -b .cred_store
|
||||||
|
%patch1 -p2 -b .systemd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
@ -105,6 +107,9 @@ rm -rf %{buildroot}
|
|||||||
%systemd_postun_with_restart gssproxy.service
|
%systemd_postun_with_restart gssproxy.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 29 2013 Guenther Deschner <gdeschner@redhat.com> 0.2.2-4
|
||||||
|
- Modify systemd unit files for nfs-secure services
|
||||||
|
|
||||||
* Wed May 22 2013 Guenther Deschner <gdeschner@redhat.com> 0.2.2-3
|
* Wed May 22 2013 Guenther Deschner <gdeschner@redhat.com> 0.2.2-3
|
||||||
- Fix cred_store handling w/o client keytab
|
- Fix cred_store handling w/o client keytab
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user