On 2016-02-21 05:55 PM, Robert Edmonds wrote: > Simon Deziel wrote: >> Turns out that unbound-checkconf has been fixed somewhere between 1.4.22 >> and 1.5.7. "unbound-checkconf -o chroot" just works now. Please see the >> updated patch attached. > > Great, much cleaner :-) > > I've sort-of applied your patch in the most recent upload to unstable > (1.5.7-2). I was in the middle of a refactoring of the package scripts, > so the relevant code implementing the chroot setup is now in > /usr/lib/unbound/package-helper, which is in Git here: > > > http://anonscm.debian.org/cgit/pkg-dns/unbound.git/tree/debian/package-helper?h=debian/1.5.7-2#n58 > > Which should now be equivalent to the function proposed in your patch.
Indeed, thanks. > (The ultimate goal of the package-helper refactoring is to move all the > non-init related functionality out of the unbound sysvinit script, in > order to support systemd .service units with the same functionality.) This helper will make the unbound.service clean and simple, good idea. I also welcome the move to systemd. Regards, Simon