From 3bd87906cec584caacf73cbe2c2d8e768fc8b0f8 Mon Sep 17 00:00:00 2001 From: David Prevot Date: Mon, 13 Nov 2023 17:59:48 +0100 Subject: [PATCH] bind: Adapt chroot-bind for Bookworm --- bind/files/chroot-bind.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bind/files/chroot-bind.sh b/bind/files/chroot-bind.sh index cfcec28f..95852e61 100644 --- a/bind/files/chroot-bind.sh +++ b/bind/files/chroot-bind.sh @@ -3,14 +3,17 @@ # Gregory Colpart # chroot (or re-chroot) script for bind9 -# tested on Debian Wheezy/Jessie/Stretch/Buster/Bullseye +# tested on Debian Wheezy/Jessie/Stretch/Buster/Bullseye/Bookworm # Exec this script after `(apt-get|aptitude|apt) install bind9` # and after *each* bind9 upgrade -# When the script is finished, ensure you have (since Bullseye) +# When the script is finished, ensure you have # 'OPTIONS="-u bind -t /var/chroot-bind"' in /etc/default/named -### or (until Buster) -### 'OPTIONS="-u bind -t /var/chroot-bind"' in /etc/default/bind9 +# (since Bullseye) or, until Buster, in /etc/default/bind9 +# +# Since Bookmworm, one also needs to handle bind mount points +# https://wiki.evolix.org/HowtoBind#bind-mount-%C3%A0-partir-de-bookworm-debian-12 +# # and /etc/init.d/bind9 (re)start # # for Jessie/systemd only: