[systemd-devel] RebootWatchdogSec does not configure hardware watchdog timeout for reboots correctly

Ray, Ian (GE Healthcare) ian.ray at ge.com
Fri Sep 11 05:23:43 UTC 2020



On 11/09/2020, 03:29, "systemd-devel on behalf of Karim, Hafiz Abdul" <systemd-devel-bounces at lists.freedesktop.org on behalf of HafizAbdul_Karim at mentor.com> wrote:
> 
> After following this 
> https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html I tried to configure the hardware watchdog for reboots.
> 
> I made the following changes to systemd configurations. 
> # cat /etc/systemd/system.conf.d/99-watchdog.conf
> [Manager]
> RuntimeWatchdogSec=8s
> RebootWatchdogSec=10min
> 
> Even though I have set RebootWatchdogSec to 10min, but after the reboot fails and system is halted, Timeout occurs in around 2 minutes
> and system restarts. 
> 
> Is this expected? if no, how can I fix this. 
> 

From the above link: "Not all hardware watchdogs allow configuration of all possible reboot timeout values, in which case the closest available timeout is picked."

Does your hardware watchdog have a maximum timeout of 128s?


> Thanks
> 
> Regards,
> Hafiz Abdul Karim, 
> Senior Software Development Engineer | Mentor Embedded Linux
> Mentor, A Siemens Business
> 6th Floor Ali Tower M. M. Alam Road Gulberg III Lahore Pakistan, 54660
> 
> HafizAbdul_karim at mentor.com <mailto:arshad_aleem at mentor.com>  | office: +92-42-3609-9202 | cell: +92-334-5099746
> 





More information about the systemd-devel mailing list