From 74b04d3e4ed42492f76503a5ef4f07c9d8d2c737 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 16 Aug 2024 15:24:23 +0200 Subject: [PATCH] disable the watchdog by default The systemd watchdog has three big problems: - it wrongly restarts KWin in some cases after suspend - it wrongly restarts KWin in some OOM situations - it wrongly restarts KWin when doing a live upgrade from the watchdog being disabled to it being enabled Each of those cases can cause users to lose data and in the upgrade case even require repairing the system manually, which is not acceptable. This commit keeps the watchdog code in place for now; the decision to remove it or what to replace it with isn't as urgent. --- plasma-kwin_wayland.service.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plasma-kwin_wayland.service.in b/plasma-kwin_wayland.service.in index d5333d901b..6db09b26ba 100644 --- a/plasma-kwin_wayland.service.in +++ b/plasma-kwin_wayland.service.in @@ -3,10 +3,6 @@ Description=KDE Window Manager PartOf=graphical-session.target [Service] -Type=notify-reload ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_wayland_wrapper --xwayland BusName=org.kde.KWinWrapper Slice=session.slice -WatchdogSec=15s -NotifyAccess=all -WatchdogSignal=SIGHUP