From 5b13ea73720ab5e950ae04919bf105c41378336f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20unbrot=20P=C3=A4tzold?= Date: Mon, 11 May 2026 11:49:12 +0200 Subject: [PATCH] kwallet: treat exit code 1 as success in kwalletd6-logon.service kwalletd6 exits with code 1 when the Wayland compositor shuts down during logout. Without SuccessExitStatus=1, the service is marked failed and ExecStop (the bind mount umount) never runs. Treating exit code 1 as success keeps the service in active-exited state so systemd fires ExecStop cleanly on session end. Co-Authored-By: Claude Sonnet 4.6 --- client_software/0010_kwallet/user_run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/client_software/0010_kwallet/user_run.sh b/client_software/0010_kwallet/user_run.sh index 47886f1..3d258b3 100755 --- a/client_software/0010_kwallet/user_run.sh +++ b/client_software/0010_kwallet/user_run.sh @@ -21,6 +21,7 @@ fi WALLETPATH_CFG="${HOME}/.local/share/kwalletd" systemd-run --user --unit=kwalletd6-logon \ --property=RemainAfterExit=yes \ + --property=SuccessExitStatus=1 \ --property=Before=gocryptfs-home.service \ --property="ExecStop=/usr/bin/sudo /usr/bin/umount -l ${WALLETPATH_CFG}" \ kwalletd6 >${TEMPDIR}/kwalletd6.log 2>&1 &