OPNsense upgrade failure with Zenarmor (23.1.7)

Started by rfc805, May 16, 2023, 08:25:19 PM

Previous topic - Next topic
June 16, 2023, 09:07:06 AM #30 Last Edit: June 16, 2023, 03:13:13 PM by almodovaris
Now it's even worse: simply accessing https://192.168.1.1/system_advanced_sysctl.php crashes OPNsense (you do have to enter username and password if asked).

If it matters, I have OPNsense 23.1.9_19-amd64.

kernel and base are 23.1.8_5.

Oddly enough, getting rid of maxlen from config.xml does not solve the problem.

Even

# sysctl -a

crashes the system.

Reverting to stable 22.1.8 base and kernel, sysctl -a no longer crashes my system. And reinstalling Zenarmor no longer crashes my system. Please note that the crash happened also on stable versions, I think that removing maxlen from config.xml solved the problem for 23.1.8 base and kernel.

For the record, that tunable was set as default.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

I've checked:

opnsense-update -zbr 23.1.8_5 is safe;
opnsense-update -zkr dbg-23.1.8_5 isn't safe.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

The last stable version base/kernel is 23.1.8. If you install random snapshots (opnsense-update -z) I'm unsure what you are trying to achieve...

If this is a FreeBSD 13 issue it's probably going to happen all the time since we don't alter code that is relevant here.


Cheers,
Franco

Let's put it this way: I have an addiction, I'm addicted to updates.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

Cowbell vibes, but I digress...

Ok, fair enough. You might want to try FreeBSD 13.2?

# opnsense-update -zbkr 23.7.d

It's unlikely an upstream fix will automatically find its way to 13.1/23.1 nowadays.


Cheers,
Franco

23.7.d works okay.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD