]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add KExecWatchdogSec option
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 19 Jul 2019 10:54:15 +0000 (11:54 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 23 Jul 2019 19:29:03 +0000 (20:29 +0100)
commitacafd7d8a6297fe40960d12dd86a974a53072cfb
treed5c9ea7eca614c95fd9c49715338af014ce4e5fc
parent28fea36732cb832c399aac5288280d9cbe1047d9
core: add KExecWatchdogSec option

Rather than always enabling the shutdown WD on kexec, which might be
dangerous in case the kernel driver and/or the hardware implementation
does not reset the wd on kexec, add a new timer, disabled by default,
to let users optionally enable the shutdown WD on kexec separately
from the runtime and reboot ones. Advise in the documentation to
also use the runtime WD in conjunction with it.

Fixes: a637d0f9ecbe ("core: set shutdown watchdog on kexec too")
man/systemd-system.conf.xml
src/core/dbus-manager.c
src/core/main.c
src/core/manager.h
src/core/system.conf.in
test/fuzz/fuzz-unit-file/directives.service