Notice unbound [84291:0] notice: init module 0: python Error unbound [84291:0] error: pythonmod: can't parse Python script dnsbl_module.py Error unbound [84291:0] error: pythonmod: python error: NoneType: None Error unbound [84291:0] error: module init for module python failed
You need to reboot or apply unbound configuration. Restart won't do it.Details about this weird change of shared object use here... https://github.com/opnsense/core/issues/7274
root@OPNsense:~ # df -h | fgrep unbounddevfs 1.0K 1.0K 0B 100% /var/unbound/dev/usr/local/lib/python3.9 23G 2.4G 19G 11% /var/unbound/usr/local/lib/python3.9/lib 23G 2.4G 19G 11% /var/unbound/lib
root@OPNsense:~ # ps aux | grep -i '[u]nbou'root 84061 0.0 0.2 25732 15212 - Ss 21:32 0:00.44 /usr/local/bin/python3 /usr/local/opnsense/scripts/dhcp/unbound_watcher.py --domain lab.patient0.xyz (python3.9)
root@OPNsense:~ # /usr/local/sbin/unbound -dc /var/unbound/unbound.confTraceback (most recent call last): File "dnsbl_module.py", line 46, in <module> import dns.name File "/usr/local/lib/python3.9/site-packages/dns/name.py", line 33, in <module> if dns._features.have("idna"): File "/usr/local/lib/python3.9/site-packages/dns/_features.py", line 67, in have if not _version_check(requirement): File "/usr/local/lib/python3.9/site-packages/dns/_features.py", line 37, in _version_check t_version = _tuple_from_text(version) File "/usr/local/lib/python3.9/site-packages/dns/_features.py", line 10, in _tuple_from_text text_parts = version.split(".")AttributeError: 'NoneType' object has no attribute 'split'
Odd, can you try reverting this?# opnsense-revert -r 24.1.2 py39-dnspython
import importlib.metadataimportlib.metadata.version('idna')
Did you guys install anything from the ports tree manually?