[unbound/f19] * Fri Apr 19 2013 Paul Wouters <pwouters at redhat.com> - 1.4.20-7 - Fix for the runuser command in pos

Paul Wouters pwouters at fedoraproject.org
Fri Apr 19 14:38:53 UTC 2013


commit 89ae6b7d2e52b0084e8aef4a4b3639d934e448e8
Author: Paul Wouters <pwouters at redhat.com>
Date:   Fri Apr 19 10:38:20 2013 -0400

    * Fri Apr 19 2013 Paul Wouters <pwouters at redhat.com> - 1.4.20-7
    - Fix for the runuser command in post (rhbz#953337)

 unbound.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/unbound.spec b/unbound.spec
index a2a0274..0eee1f3 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -11,7 +11,7 @@
 Summary: Validating, recursive, and caching DNS(SEC) resolver
 Name: unbound
 Version: 1.4.20
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/unbound/
 Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
@@ -253,7 +253,7 @@ exit 0
 
 %post libs 
 /sbin/ldconfig
-%{_sbindir}/runuser -g unbound unbound %{_sbindir}/unbound-anchor -a %{_sharedstatedir}/%{name}/root.key -c %{_sysconfdir}/%{name}/icannbundle.pem ||:
+%{_sbindir}/runuser \ --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.key -c %{_sysconfdir}/unbound/icannbundle.pem" \ --shell /bin/sh unbound
 
 %preun
 %systemd_preun unbound.service
@@ -279,6 +279,9 @@ exit 0
 /bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || :
 
 %changelog
+* Fri Apr 19 2013 Paul Wouters <pwouters at redhat.com> - 1.4.20-7
+- Fix for the runuser command in post (rhbz#953337)
+
 * Tue Apr 16 2013 Paul Wouters <pwouters at redhat.com> - 1.4.20-6
 - Updated to 1.4.20
 - Build with full RELRO (not use -z,relro but with -z,relo,-z,now)


More information about the scm-commits mailing list