From 08c48736b1159ca7d948c77353ede509f64a87e2 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 31 Aug 2026 22:07:30 +0300 Subject: [PATCH] fix: keep Type=forking behavior in dde-session-loader-wrapper The systemd service was changed to `Type=forking` in https://github.com/linuxdeepin/dde-session/commit/8b39a25e908ae03e7229a5973f65324e52db75b0, but the wrapper directly exec the original daemon, which hangs the systemd service indefinitely on Arch since we don't have deepin-security-loader. Let's stick to the fork-like behavior to fix this. --- misc/dde-session-loader-wrapper.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/dde-session-loader-wrapper.in b/misc/dde-session-loader-wrapper.in index e4cda31..3e2cdec 100755 --- a/misc/dde-session-loader-wrapper.in +++ b/misc/dde-session-loader-wrapper.in @@ -29,4 +29,5 @@ fi # Fallback: direct launch without loader (no polkit-free authorization) log_to_journal "Fallback: launching directly without security loader" -exec "$REAL_BINARY" "$@" +"$REAL_BINARY" "$@" & +exit 0