balena-raspberrypi icon indicating copy to clipboard operation
balena-raspberrypi copied to clipboard

systemd-shutdown: adjust watchdog expiration time

Open alexgg opened this issue 1 year ago • 5 comments

By default, the second stage watchdog time that is used to set the watchdog once systemd-shutdown has stopped all services and replaced PID1 with itself is set to 10m.

However, the RPI watchdog has a maximum timeout of 15s, so we adjust this value accordingly.

This helps ensure that when a shutdown or reboot is triggered, the device can fallback to a watchdog reboot if it gets stuck.

Changelog-entry: adjust reboot watchdog timeout

alexgg avatar Jan 23 '24 10:01 alexgg

Passed tests:

  • test-raspberrypi — OS tests have passed
  • test-raspberrypi2 — OS tests have passed
  • test-raspberrypi3 — OS tests have passed
  • test-raspberrypi3-64 — OS tests have passed
  • test-raspberrypi4-unipi-neuron — OS tests have passed
  • test-revpi-connect — OS tests have passed
  • test-rt-rpi-300 — OS tests have passed
  • test-raspberrypi0-2w-64
  • test-raspberrypi4-64

alexgg avatar Jan 29 '24 13:01 alexgg

@resin-jenkins retest this please

alexgg avatar Jan 29 '24 13:01 alexgg

TODO: check the configuration is correctly set after solving conflicts

alexgg avatar Jan 30 '24 11:01 alexgg

@resin-jenkins retest this please

alexgg avatar Jan 31 '24 10:01 alexgg

@resin-jenkins retest this please

alexgg avatar May 23 '24 09:05 alexgg

@resin-jenkins retest this please

alexgg avatar May 24 '24 12:05 alexgg

Verified the settings on the raspberrypi4-64 docker image.

alexgg avatar May 24 '24 14:05 alexgg

@resin-jenkins retest this please

alexgg avatar May 27 '24 08:05 alexgg

@resin-jenkins retest this please

alexgg avatar May 31 '24 10:05 alexgg

@resin-jenkins retest this please

alexgg avatar Jun 10 '24 08:06 alexgg

lgtm

alexgg avatar Jun 11 '24 09:06 alexgg

@resin-jenkins retest this please

alexgg avatar Jun 12 '24 10:06 alexgg

Passed:

  • test-raspberrypi3
  • test-raspberrypi3-64
  • test-raspberrypi4-64

alexgg avatar Jun 18 '24 10:06 alexgg

Passed:

  • test-raspberrypi0-2w-64
  • test-raspberrypi3
  • test-raspberrypi3-64
  • test-raspberrypi4-64

alexgg avatar Jun 26 '24 08:06 alexgg

@resin-jenkins retest this please

alexgg avatar Jul 05 '24 10:07 alexgg

@resin-jenkins retest this please

alexgg avatar Jul 05 '24 14:07 alexgg

@resin-jenkins retest this please

alexgg avatar Jul 06 '24 09:07 alexgg

@resin-jenkins retest this please

alexgg avatar Jul 07 '24 11:07 alexgg