[Pkg-dns-devel] Bug#790392: Bug#790392: Bug#790392: unbound chroot accumulates old files

Robert Edmonds edmonds at debian.org
Sun Feb 21 22:55:33 UTC 2016


Hi, Simon:

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.

(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.)

-- 
Robert Edmonds
edmonds at debian.org



More information about the pkg-dns-devel mailing list