After updating yesterday I get the following error logged from configd.py. If I reboot I get a similar error every time. Can you suggest where I should look for the problem?
[e13f0d6f-b71c-4fbd-9ef9-9231da63008a] Script action failed with Command '/usr/local/opnsense/scripts/filter/pftablecount.py ''' died with <Signals.SIGBUS: 10>. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 478, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/filter/pftablecount.py ''' died with <Signals.SIGBUS: 10>.
Update: Reverted to 22.1.4 and the errors went away. Please advise.
What sort of revert? Have you done a heath check? It looks like the new Python version is potentially unstable, but too early to tell without more data.
Cheers,
Franco
I only reverted OPNSense itself using opnsense-revert -r 22.1.4 opnsense . I did not revert Python or the kernel.
Running audit/health check shows the following:
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 22.1.4_1 (amd64/OpenSSL) at Fri Apr 8 13:57:23 CDT 2022
>>> Check installed kernel version
Version 22.1.5 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 22.1.5 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense
>>> Check installed plugins
os-dyndns 1.27_3
os-theme-cicada 1.29
os-theme-tukan 1.25
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 65 dependencies to check.
Checking packages: .........................
opnsense-22.1.4_1 repository mismatch: unknown-repository
opnsense-22.1.4_1 version mismatch, expected 22.1.5
Checking packages: .......................................... done
***DONE***
Thanks, your system looks good. What worries me is that the last change of pftablecount.py as in September 2021 so changing from 22.1.5 to 22.1.4 doesn't do anything for it?
Cheers,
Franco