Re: [OE-core] [PATCH 1/1] systemd: Set RebootWatchdogSec to 60s as watchdog

2022-05-28 Thread Robert Yang
Hi Alexander, On 5/28/22 03:12, Alexander Kanavin wrote: Where is the default of 10 minutes set? Should it be fixed there? Patching things with sed after the fact is not necessarily a good idea. It's set in src/core/main.c, line 2451: arg_reboot_watchdog = 10 * USEC_PER_MINUTE; The ${sysconf

Re: [OE-core] [PATCH 1/1] systemd: Set RebootWatchdogSec to 60s as watchdog

2022-05-27 Thread Alexander Kanavin
Where is the default of 10 minutes set? Should it be fixed there? Patching things with sed after the fact is not necessarily a good idea. Alex On Fri, 27 May 2022 at 09:07, Robert Yang wrote: > > The systemd-shutdown sets watchdog timeout to 10m (600 seconds) which is too > large, and caused err

[OE-core] [PATCH 1/1] systemd: Set RebootWatchdogSec to 60s as watchdog

2022-05-27 Thread Robert Yang
The systemd-shutdown sets watchdog timeout to 10m (600 seconds) which is too large, and caused errors when reboot on boars such as rpi4: systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument The watchog's default value is 60s, so set RebootWatchdogSec to 60s to fix the errors. And