summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2014-11-14 13:53:09 +0100
committerTomas Hozza <thozza@redhat.com>2014-11-14 13:53:09 +0100
commit075927bb1c98778884b8828af373aa6f1db4e333 (patch)
tree70c902aa7d4b3ec3eeada644a4b233224820e45a
parentb6d2bfe08a8ab93779cb255dcf7fb4349df790ee (diff)
downloadbind-075927bb1c98778884b8828af373aa6f1db4e333.tar.gz
bind-075927bb1c98778884b8828af373aa6f1db4e333.tar.xz
bind-075927bb1c98778884b8828af373aa6f1db4e333.zip
Fixed systemctl path in logrotate configuration (#1148360)
Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--bind.spec5
-rw-r--r--named.logrotate9
2 files changed, 9 insertions, 5 deletions
diff --git a/bind.spec b/bind.spec
index d6380e8..12a9368 100644
--- a/bind.spec
+++ b/bind.spec
@@ -24,7 +24,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.9.6
-Release: 3%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
+Release: 4%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -1023,6 +1023,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Fri Nov 14 2014 Tomas Hozza <thozza@redhat.com> - 32:9.9.6-4
+- Fixed systemctl path in logrotate configuration (#1148360)
+
* Wed Oct 22 2014 Petr Spacek <pspacek@redhat.com> - 32:9.9.6-3
- Fix crash during GSS-TSIG processing (#1155334, #1155127)
introduced in 32:9.9.6-2
diff --git a/named.logrotate b/named.logrotate
index 78cacc2..5df448f 100644
--- a/named.logrotate
+++ b/named.logrotate
@@ -3,9 +3,10 @@
su named named
create 0644 named named
postrotate
- /sbin/systemctl reload named.service > /dev/null 2>&1 || true
- /sbin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
- /sbin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
- /sbin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
+ /usr/bin/systemctl reload named.service > /dev/null 2>&1 || true
+ /usr/bin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
+ /usr/bin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
+ /usr/bin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
+ /usr/bin/systemctl reload named-pkcs11.service > /dev/null 2>&1 || true
endscript
}