Unbound crashes after reboot - Please help!

Started by _Mike, Today at 04:56:04 PM

Previous topic - Next topic
I'm not sure if this is related to the OPNsense 26.7.x update, but it seems to have started then - After an OPNsense reboot, Unbound starts and runs successfully for about a minute.  Then it crashes and I have to manually restart the service to bring it back up.  What could be causing this?  Is this a 26.7.x bug?


What does Unbound log?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Today at 06:25:28 PM #3 Last Edit: Today at 06:32:45 PM by _Mike
Quote from: dseven on Today at 05:07:38 PMhttps://forum.opnsense.org/index.php?topic=52429.0
Thank you for sharing this. I actually forgot that I saw that already and chimed in!

Quote from: Patrick M. Hausen on Today at 05:08:06 PMWhat does Unbound log?
This is what ChatGPT helped me come up with.  This was in order to submit an issue, which I have not done yet.  I figured I would try the forum first.

QuoteRelevant log output

During boot, multiple interface events invoke unbound_configure_do():

2026-08-28T10:48:41-04:00
/usr/local/etc/rc.linkup:
plugins_configure dns (execute task : unbound_configure_do())

2026-08-28T10:49:15-04:00
/usr/local/etc/rc.linkup:
plugins_configure dns (execute task : unbound_configure_do())

2026-08-28T10:49:28-04:00
/usr/local/etc/rc.linkup:
plugins_configure dns (execute task : unbound_configure_do())

2026-08-28T10:49:36-04:00
/usr/local/etc/rc.linkup:
plugins_configure dns (execute task : unbound_configure_do())

At approximately the same time, the Unbound log shows:

2026-08-28T10:49:35-04:00
info: start of service (unbound 1.26.0)

2026-08-28T10:49:36-04:00
info: service stopped (unbound 1.26.0)

2026-08-28T10:49:40-04:00
info: start of service (unbound 1.26.0)

The interface events immediately preceding this include:

2026-08-28T10:48:41-04:00
kernel
vlan0.30: link state changed to UP

2026-08-28T10:48:41-04:00
kernel
vlan0.40: link state changed to UP

2026-08-28T10:48:41-04:00
kernel
vlan0.10: link state changed to UP

2026-08-28T10:48:41-04:00
kernel
vlan0.20: link state changed to UP

There are also repeated IPv6 initialization messages during boot:

dhcp6c: Sending Solicit on igc0

and:

radvd_configure_do(auto) found no suitable IPv6 address on lan(ixl1)
radvd: sendmsg: Can't assign requested address

At present, the WAN and LAN interfaces have only IPv6 link-local addresses and no global/delegated IPv6 prefix.

There are also repeated kernel messages:

pfr_update_stats: assertion failed.

I do not know whether these are related.