From 70a8ba9f78f4ca32a3a069633c01dd5014ae9aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 29 May 2013 16:14:31 +0200 Subject: [PATCH] Add nfs-secure services to gssproxy systemd unit file. --- gssproxy-systemd.patch | 31 +++++++++++++++++++++++++++++++ gssproxy.spec | 7 ++++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 gssproxy-systemd.patch diff --git a/gssproxy-systemd.patch b/gssproxy-systemd.patch new file mode 100644 index 0000000..1e707a3 --- /dev/null +++ b/gssproxy-systemd.patch @@ -0,0 +1,31 @@ +From df40fa2e840e6a1f1ad32343fa39724409431067 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?G=C3=BCnther=20Deschner?= +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 +Reviewed-by: Simo Sorce +--- + 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 + diff --git a/gssproxy.spec b/gssproxy.spec index bcce58a..7bae9e2 100644 --- a/gssproxy.spec +++ b/gssproxy.spec @@ -1,6 +1,6 @@ Name: gssproxy Version: 0.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GSSAPI Proxy 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 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Patch0: gssproxy-cred_store.patch +Patch1: gssproxy-systemd.patch %global servicename gssproxy %global pubconfpath %{_sysconfdir}/gssproxy @@ -53,6 +54,7 @@ A proxy for GSSAPI credential handling %setup -q %patch0 -p2 -b .cred_store +%patch1 -p2 -b .systemd %build autoreconf -f -i @@ -105,6 +107,9 @@ rm -rf %{buildroot} %systemd_postun_with_restart gssproxy.service %changelog +* Wed May 29 2013 Guenther Deschner 0.2.2-4 +- Modify systemd unit files for nfs-secure services + * Wed May 22 2013 Guenther Deschner 0.2.2-3 - Fix cred_store handling w/o client keytab