Update Based Reboot not Working - ddclient hangs!

Started by knebb, Today at 12:49:39 PM

Previous topic - Next topic
Hi,

I noticed the following behaviour now twice:
Update is set to "automatically" including reboot
  • At some stage I realize my Nginx is not working any more
  • Checking logs shows, Nginx has been stopped by update but never started again because OPNSense itself wants to reboot (The web-GUI tells me "System is rebooting" on the firmware tab)
  • Trying to reboot manually through any way (GUI, SSH) does not work. System stays online
  • Checking on console shows pkill is waiting for the ddclient to end. Which does not happen. So reboot stops and waits for ddclient.
  • Killing ddclient with kill -9 PIDOF immediately reboots the system properly


root@router:~ # ps ax| grep 43968
43968  -  Is       0:02.34 ddclient - sleeping for 10 seconds (perl)
51212  -  I        0:00.00 pwait -op 43968
53945  -  I        0:00.00 pwait -op 43968
17700  0  I+       0:00.00 pwait -op 43968
 6279  1  S+       0:00.00 grep 43968
root@router:~ # kill -9 43968
root@router:~ #                                                                               
*** FINAL System shutdown message from root@router.knebb.de ***             

System going down IMMEDIATELY                                                 

Anyone having an idea how to prevent this or to fix ddclient?

Thanks!

/KNEBB

Since we also have issues with e.g. Suricata in some setups this will hit 26.7.4:

https://github.com/opnsense/core/commit/7729c9878


Cheers,
Franco