OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: Patrick M. Hausen on May 12, 2026, 04:47:37 PM

Title: 26.1.8 breaks NUT
Post by: Patrick M. Hausen on May 12, 2026, 04:47:37 PM
[2355] pid 59276 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2365] pid 76306 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2375] pid 96545 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2383] pid 11941 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2385] pid 15230 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2395] pid 32978 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2403] pid 45958 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)
[2405] pid 50289 (upsc), jid 0, uid 0: exited on signal 11 (no core dump - bad address)

Interestingly the command does work, it only crashes on exit:

root@opnsense:~ # upsc ups
battery.charge: 100
battery.current: 0.90
battery.date: 07/20/2024
battery.runtime: 1560
battery.runtime.elapsed: 0
battery.voltage: 27.10
battery.voltage.nominal: 24
device.contact: hostmaster@hausen.com
device.description: UPS SNMP Card
[...]
ups.status: OL
ups.temperature: 34
ups.test.date: 05/09/2026
ups.test.result: Ok
Segmentation fault

Kind regards,
Patrick
Title: Re: 26.1.8 breaks NUT
Post by: franco on May 12, 2026, 04:52:03 PM
I guess that's about https://github.com/opnsense/ports/commit/ffa95e659d223da -- we had 2.8.3 in our tree before which would still work?

# opnsense-revert -r 26.1.7 nut


Cheers,
Franco
Title: Re: 26.1.8 breaks NUT
Post by: Patrick M. Hausen on May 12, 2026, 04:54:23 PM
Da, back to workink.
Title: Re: 26.1.8 breaks NUT
Post by: franco on May 12, 2026, 05:04:36 PM
Ok not sure what to do here, but I'll see if there is an upstream patch. Rolling back the version is iffy.


Cheers,
Franco
Title: Re: 26.1.8 breaks NUT
Post by: Patrick M. Hausen on May 12, 2026, 05:06:40 PM
Quote"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT
Stealing that! :-)
Title: Re: 26.1.8 breaks NUT
Post by: lmoore on May 12, 2026, 06:14:38 PM
Did a quick trace of 2.8.5 and it appears to use /proc, whereas 2.8.3 doesn't. I don't know if this has anything to do with it.