diff --git a/HowtoBind.md b/HowtoBind.md index fa196cae..03fe7b46 100644 --- a/HowtoBind.md +++ b/HowtoBind.md @@ -203,6 +203,30 @@ RESOLVCONF=no OPTIONS=" -u bind -t /var/chroot-bind" ~~~ +### bind mount à partir de Bookworm (Debian 12) + +Depuis Bookworm, des points de montage sont nécessaires pour un fonctionnement normal de systemd et journald (sinon l’unité systemd ne renvoie jamais de signal après un redémarrage correct). + +`/etc/fstab` doit contenir les lignes suivantes. + +~~~ +/run/systemd/journal/socket /var/chroot-bind/run/systemd/journal/socket none bind 0 0 +/run/systemd/journal/stdout /var/chroot-bind/run/systemd/journal/stdout none bind 0 0 +/run/systemd/notify /var/chroot-bind/run/systemd/notify none bind 0 0 +~~~ + +Puis les points de montages doivent être créés et montés. + +~~~ { .sh } +# mkdir -p /var/chroot-bind/run/systemd/journal +# touch /var/chroot-bind/run/systemd/{journal/s{ocket,tdout},notify} +# chown -R bind: /var/chroot-bind/run/ +# systemctl daemon-reload +# mount -a +~~~ + +### Relancer bind + Vous devez alors relancer BIND : ~~~