Comment 4 for bug 1664388

Revision history for this message
Tony Espy (awe) wrote :

@Ogra

If I add a systemd unit to my gadget snap to do what you suggest in comment #2, would it get picked up on an update today?

That said, in the case of the OEM I'm dealing with, all of their IoT systems are configured with a hardware WDT, and their approach to early boot is to configure the systems with a 10m boot BIOS timer which activates the hardware WDT on expiry. So if the system hangs in it's first 10m of life, it'll be rebooted at the 10m mark, otherwise the WDT is activated, and is configured to reboot after 10s of no pings from systemd.

Re: the sysctl.d approach, +1, it's a much better solution than a dedicated systemd unit for the purpose of modifying a kernel parameter. Let me know if you'd like me to review if/when you have something ready.