HowtoBind: add steps for Debian 12
This commit is contained in:
parent
9178624b79
commit
dee9c0ed76
24
HowtoBind.md
24
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 :
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue