With 1.5.8, only the call to unbound-checkconf needed to be fix to use a
full path.
--- /usr/lib/unbound/package-helper.orig	2016-04-08 12:32:46.710107662 -0400
+++ /usr/lib/unbound/package-helper	2016-04-08 12:33:15.050107392 -0400
@@ -2,7 +2,7 @@
 
 UNBOUND_CONF="/etc/unbound/unbound.conf"
 UNBOUND_BASE_DIR="$(dirname $UNBOUND_CONF)"
-CHROOT_DIR="$(unbound-checkconf -o chroot)"
+CHROOT_DIR="$(/usr/sbin/unbound-checkconf -o chroot)"
 
 DNS_ROOT_KEY_FILE="/usr/share/dns/root.key"
 ROOT_TRUST_ANCHOR_FILE="/var/lib/unbound/root.key"
@@ -28,7 +28,7 @@
 do_resolvconf_start() {
     if $RESOLVCONF; then
         if [ -x /sbin/resolvconf ]; then
-            unbound-checkconf $CHROOT_DIR/$UNBOUND_CONF -o interface | (
+            /usr/sbin/unbound-checkconf $CHROOT_DIR/$UNBOUND_CONF -o interface | (
                 default=yes
                 while read interface; do
                     default=no

Reply via email to