Hello, An ubuntu user also ran into this problem [1] as well so I revisited the patch and turned it into a merge request [2]. I tested the code with Unbound 1.10.1-1 and chroot set to /var/lib/unbound.
Regards, Simon 1: https://bugs.launchpad.net/bugs/1885907 2: https://salsa.debian.org/dns-team/unbound/-/merge_requests/10