diff --git a/src/etc/inc/plugins.inc.d/unbound.inc b/src/etc/inc/plugins.inc.d/unbound.inc index fb3964d06..52994a97c 100644 --- a/src/etc/inc/plugins.inc.d/unbound.inc +++ b/src/etc/inc/plugins.inc.d/unbound.inc @@ -135,7 +135,7 @@ function unbound_generate_config() $python_dir = "/usr/local/lib/{$pythonv}"; $chroot_python_dir = "/var/unbound{$python_dir}"; - $dirs = ['/data', '/dev', '/etc', '/lib', '/run', '/usr', '/usr/local/sbin', '/var/db', '/var/run', $python_dir]; + $dirs = ['/data', '/dev', '/etc', '/lib', '/run', '/usr', '/var/db', '/var/run', $python_dir]; foreach ($dirs as $dir) { mwexecf('/bin/mkdir -p %s', "/var/unbound{$dir}"); diff --git a/src/opnsense/service/templates/OPNsense/Unbound/core/dot.conf b/src/opnsense/service/templates/OPNsense/Unbound/core/dot.conf index e8419ba59..6e77ccaa1 100644 --- a/src/opnsense/service/templates/OPNsense/Unbound/core/dot.conf +++ b/src/opnsense/service/templates/OPNsense/Unbound/core/dot.conf @@ -39,8 +39,6 @@ forward-zone: {% if all_dots|length > 0 %} # Forward zones over TLS server: - # XXX Unbound only looks for a bundle file when OpenSSL will handle all of it??? - #tls-system-cert: yes tls-cert-bundle: /usr/local/etc/ssl/cert.pem {% for domain, dots in all_dots|groupby("domain", default=".") %}