Any tip for storing jail data and config outside of the jail?.

One thing that happened to me today:
Had a config dir mounted in my DNS jail on /var/unbound.

Destroyed the jail, re-created it: the config that I stored outside got overwritten.

Of course I could have mounted the directory as read only, but I'm more like wondering if the whole approach is just wrong

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/dorubab/statuses/115634623837306166 on your instance and quote it. (Note that quoting is not supported in Mastodon.)