I set WatchdogSec=0 for the Engine on a recent balenaOS build and the Engine failed to start.
From what I see, the problem is that on newer Systemd versions, setting WatchdogSecs=0 no longer causes the env var WATCHDOG_USEC to be set. This causes healthdog to fail with Invalid value for WATCHDOG_USEC right upon start up: https://github.com/balena-os/healthdog-rs/blob/master/src/main.rs#L53 (So, probably the right fix is on healthdog itself.)
I think this is the Systemd commit that introduced this new behavior: systemd/systemd@f16890f
I set
WatchdogSec=0for the Engine on a recent balenaOS build and the Engine failed to start.From what I see, the problem is that on newer Systemd versions, setting
WatchdogSecs=0no longer causes the env varWATCHDOG_USECto be set. This causes healthdog to fail withInvalid value for WATCHDOG_USECright upon start up: https://github.com/balena-os/healthdog-rs/blob/master/src/main.rs#L53 (So, probably the right fix is on healthdog itself.)I think this is the Systemd commit that introduced this new behavior: systemd/systemd@f16890f