1
24.1 Legacy Series / Re: Strange new reboot couple times a day
« on: June 19, 2024, 10:21:23 am »
I'm just gonna chime in to say I'm having a similar issue. I think with as many people as there are this issue doesn't seem to be hardware specific. I just configured the OPNsense (24.1.19) today, an I'm running it inside a vm with NICs passed through. Couple times during the day I hit the aforementioned issue: `configd.py action rfc2136.reload.wan not found for user root` I got similar entries for my 2 other interfaces. At the same time as the last crash, I saw the following entries in the General log (newest first):
```log
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : wireguard_sync(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (,wan)
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : wireguard_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (,wan)
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_GW))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,WAN_GW)
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping inet default route to www.www.www.www
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: configuring inet default gateway on wan
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
Notice opnsense /usr/local/etc/rc.newwanip: IP renewal starting (new: xxx.xxx.xxx.xxx, old: xxx.xxx.xxx.xxx, interface: wan, device: igc2, force: yes)
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-06-19T03:13:58-04:00 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,wan)
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_GW))
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure monitor (,WAN_GW)
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: setting inet default route to www.www.www.www
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: configuring inet default gateway on wan
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'wan'
Notice dhclient dhclient-script: Creating resolv.conf
Notice dhclient dhclient-script: New Routers (igc2): www.www.www.www
Notice dhclient dhclient-script: New Broadcast Address (igc2): zzz.zzz.zzz.zzz
Notice dhclient dhclient-script: New Subnet Mask (igc2): yyy.yyy.yyy.yyy
Notice dhclient dhclient-script: New IP Address (igc2): xxx.xxx.xxx.xxx
Notice dhclient dhclient-script: New Hostname (igc2): hhhhhhhhhh
Notice dhclient dhclient-script: Reason REBOOT on igc2 executing
Notice kernel <6>igc2: link state changed to UP
Notice dhclient dhclient-script: Reason PREINIT on igc2 executing
Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for wan(igc2)
Notice kernel <6>igc2: link state changed to DOWN
Critical dhclient exiting.
Error dhclient connection closed
Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for wan(igc2)
Error opnsense /usr/local/etc/rc.newwanip: The command '/usr/sbin/daemon -f -p '/var/run/updaterrd.pid' '/var/db/rrd/updaterrd.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 14295'
```
Of note is that I don't have any vpn nor dns services enabled at this moment, tho it seems configuring them is just a part of the process.
I don't seem to have leaky memory either, nor any other significant metric during the time of the crash. Any ideas?
```log
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : wireguard_sync(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (,wan)
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : wireguard_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (,wan)
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_GW))
Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,WAN_GW)
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping inet default route to www.www.www.www
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: configuring inet default gateway on wan
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dns ()
Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
Notice opnsense /usr/local/etc/rc.newwanip: IP renewal starting (new: xxx.xxx.xxx.xxx, old: xxx.xxx.xxx.xxx, interface: wan, device: igc2, force: yes)
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp ()
2024-06-19T03:13:58-04:00 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,wan))
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure ipsec (,wan)
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_GW))
Notice opnsense /usr/local/etc/rc.linkup: plugins_configure monitor (,WAN_GW)
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: setting inet default route to www.www.www.www
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: configuring inet default gateway on wan
Notice opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'wan'
Notice dhclient dhclient-script: Creating resolv.conf
Notice dhclient dhclient-script: New Routers (igc2): www.www.www.www
Notice dhclient dhclient-script: New Broadcast Address (igc2): zzz.zzz.zzz.zzz
Notice dhclient dhclient-script: New Subnet Mask (igc2): yyy.yyy.yyy.yyy
Notice dhclient dhclient-script: New IP Address (igc2): xxx.xxx.xxx.xxx
Notice dhclient dhclient-script: New Hostname (igc2): hhhhhhhhhh
Notice dhclient dhclient-script: Reason REBOOT on igc2 executing
Notice kernel <6>igc2: link state changed to UP
Notice dhclient dhclient-script: Reason PREINIT on igc2 executing
Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for wan(igc2)
Notice kernel <6>igc2: link state changed to DOWN
Critical dhclient exiting.
Error dhclient connection closed
Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for wan(igc2)
Error opnsense /usr/local/etc/rc.newwanip: The command '/usr/sbin/daemon -f -p '/var/run/updaterrd.pid' '/var/db/rrd/updaterrd.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 14295'
```
Of note is that I don't have any vpn nor dns services enabled at this moment, tho it seems configuring them is just a part of the process.
I don't seem to have leaky memory either, nor any other significant metric during the time of the crash. Any ideas?