diff --git a/bind.changes b/bind.changes index c9a4634..c3f8227 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Sep 8 21:10:50 UTC 2014 - werner@suse.de + +- Require systemd-rpm-macros at build + +------------------------------------------------------------------- +Mon Sep 8 14:00:01 UTC 2014 - werner@suse.de + +- Use the systemd service macros to make sure init scripts are + registered properly (bnc#894627) + +------------------------------------------------------------------- +Wed Sep 3 11:38:47 UTC 2014 - max@suse.com + +- Version 9.9.5P1 also fixes a problem with zone transfers on + multicore machines (bnc#882511). + ------------------------------------------------------------------- Thu Jul 31 21:40:49 UTC 2014 - lmuelle@suse.com diff --git a/bind.spec b/bind.spec index 463ace4..1332d39 100644 --- a/bind.spec +++ b/bind.spec @@ -409,9 +409,11 @@ test -d ${TEMP_DIR} || \ test -e ${TEMP_SYSCONFIG_FILE} && \ old ${TEMP_SYSCONFIG_FILE} echo "NAMED_RUN_CHROOTED=\"${NAMED_RUN_CHROOTED}\"" >${TEMP_SYSCONFIG_FILE} +%service_add_pre named %preun %stop_on_removal named +%service_del_preun named %post %{fillup_and_insserv -nf named} @@ -528,10 +530,12 @@ if [ -f ${NAMED_ACTIVE_FILE} ]; then sbin/insserv named test ! -s ${NAMED_ACTIVE_FILE} && rm -f ${NAMED_ACTIVE_FILE} fi +%service_add_post named %postun %restart_on_update named %insserv_cleanup +%service_del_postun named %pre chrootenv %{GROUPADD_NAMED} @@ -544,6 +548,7 @@ fi %pre lwresd %{GROUPADD_NAMED} %{USERADD_NAMED} +%service_add_pre lwresd %post lwresd # Create a key if usr/sbin/rndc-confgen is installed. @@ -559,13 +564,16 @@ fi if [ $1 -le 1 ]; then %{fillup_and_insserv -fy lwresd} fi; +%service_add_post lwresd %preun lwresd %stop_on_removal lwresd +%service_del_preun lwresd %postun lwresd %restart_on_update lwresd %insserv_cleanup +%service_del_postun lwresd %post utils /sbin/ldconfig