unbound -c /var/unbound/unbound.conf
/var/unbound/etc/domainoverrides.conf:1: error: syntax errorread /var/unbound/unbound.conf failed: 1 errors in configuration file[1690860690] unbound[25940:0] fatal error: Could not read config file: /var/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf
unbound -ddvv -c /var/unbound/unbound.conf
root@opnsense:/var/unbound/etc # unbound -ddvv -c /var/unbound/unbound.conf[1690891368] unbound[46649:0] notice: Start of unbound 1.17.1.[1690891368] unbound[46649:0] debug: chdir to /var/unbound[1690891368] unbound[46649:0] debug: chroot to /var/unbound[1690891368] unbound[46649:0] debug: drop user privileges, run as unbound[1690891368] unbound[46649:0] debug: switching log to stderr[1690891368] unbound[46649:0] debug: module config: "python iterator"[1690891368] unbound[46649:0] notice: init module 0: pythonCould not find platform independent libraries <prefix>Could not find platform dependent libraries <exec_prefix>Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = 'unbound' isolated = 0 environment = 1 user site = 1 import site = 0 sys._base_executable = '' sys.base_prefix = '/usr/local' sys.base_exec_prefix = '/usr/local' sys.platlibdir = 'lib' sys.executable = '' sys.prefix = '/usr/local' sys.exec_prefix = '/usr/local' sys.path = [ '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/lib-dynload', ]Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encodingPython runtime state: core initializedModuleNotFoundError: No module named 'encodings'Current thread 0x0000000829022000 (most recent call first):<no Python frame>
*** OPNsense\Unbound\Unbound Migration failed, check log for details
2023-07-31T21:23:50 Notice kernel <118>You may need to manually remove /usr/local/etc/unbound/unbound.conf if it is no longer needed. 2023-07-31T21:23:42 Notice kernel <118>*** OPNsense\Unbound\Unbound Migration failed, check log for details 2023-07-31T21:23:42 Error config Model OPNsense\Unbound\Unbound can't be saved, skip ( OPNsense\Phalcon\Filter\Validation\Exception: [OPNsense\Unbound\Unbound:general.active_interface] option not in list{} 2023-07-31T21:23:42 Error config [OPNsense\Unbound\Unbound:general.active_interface] option not in list{} 2023-07-31T21:22:50 Notice kernel <118>[87/214] Extracting unbound-1.17.1_3: .......... done 2023-07-31T21:22:50 Notice kernel <118>Using existing user 'unbound'. 2023-07-31T21:22:50 Notice kernel <118>Using existing group 'unbound'. 2023-07-31T21:22:50 Notice kernel <118>[87/214] Upgrading unbound from 1.17.1_2 to 1.17.1_3... 2023-07-31T21:22:50 Notice kernel <118> unbound: 1.17.1_2 -> 1.17.1_3 2023-07-31T21:22:50 Notice kernel <118>unbound-1.17.1_2: already unlocked
<active_interface/> <active_interface/>
root@husabyvagen:~ # grep active_interface /conf/config.xml <active_interface/>root@husabyvagen:~ # pluginctl -g unbound.active_interfaceroot@husabyvagen:~ #
# pluginctl -g unbound.active_interface# grep active_interface /conf/config.xml <active_interface>opt9</active_interface>