From 5509b0742490f6a85fb7223f7c623082b2bce14c Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 19 Mar 2012 08:50:50 +0000 Subject: [PATCH] fixing it for real : it was no PATH issue but a rndc reload strange behavior: doesn't work to load a new zone --- debian/alternc.cron.d | 2 -- debian/changelog | 2 +- src/alternc_reload | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/debian/alternc.cron.d b/debian/alternc.cron.d index 0a2ab4ea..16a425ba 100644 --- a/debian/alternc.cron.d +++ b/debian/alternc.cron.d @@ -1,6 +1,4 @@ -PATH=/sbin:/bin:/usr/sbin:/usr/bin - # Every day at 4am, produce raw statistics 0 4 * * * root /usr/lib/alternc/rawstat.daily diff --git a/debian/changelog b/debian/changelog index 7a5801c0..f75f49a4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ alternc (1.0.3) stable; urgency=high * Bugfix: the 'connect' button in the list of installed domains didn't work, make it work - * Bugfix: fixing PATH issue in update_domains that prevents the "rndc reload" + * Bugfix: fixing RNDC RELOAD behavior issue when ADDING a domain name -- Benjamin Sonntag Wed, 12 Oct 2011 18:00:00 +0200 diff --git a/src/alternc_reload b/src/alternc_reload index 0122cb2a..a33123a0 100755 --- a/src/alternc_reload +++ b/src/alternc_reload @@ -76,7 +76,7 @@ if [ ! -z "$RELOAD_ZONES" ]; then apache_reload ;; *) - $sudo rndc reload "$zone" || echo "Cannot reload bind for zone $zone" + $sudo rndc reload || echo "Cannot reload bind for zone $zone" ;; esac done