forked from obel1x/fedora-OEMDRV
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user