From 99402419a565c3b5d1d5e1cf45edad246ca91f90 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 30 Jul 2012 15:18:43 +0200 Subject: [PATCH] Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047) --- bind.spec | 5 ++++- named.NetworkManager | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bind.spec b/bind.spec index e198ab3..a96420b 100644 --- a/bind.spec +++ b/bind.spec @@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.9.1 -Release: 5.%{PATCHVER}%{?dist} +Release: 6.%{PATCHVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -771,6 +771,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Mon Jul 30 2012 Tomas Hozza 32:9.9.1-6.P2 +- Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047) + * Thu Jul 26 2012 Adam Tkac 32:9.9.1-5.P2 - update to 9.9.1-P2 diff --git a/named.NetworkManager b/named.NetworkManager index d0be54c..c835a00 100644 --- a/named.NetworkManager +++ b/named.NetworkManager @@ -1,8 +1,8 @@ #!/bin/bash if [ "$2" = 'up' -o "$2" = 'down' ]; then - /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 fi