* [PATCH BlueZ] mpris-proxy: Stop and start together with dbus.service
@ 2026-11-03 15:17 Mitar
2026-11-03 16:35 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Mitar @ 2026-11-03 15:17 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Mitar
GNOME stops dbus.service when a session ends, with
gnome-session-restart-dbus.service, and the bus is started again through
dbus.socket once a client connects to it. mpris-proxy is not stopped
with the bus: libdbus ends it with exit status 1 when the bus closes its
connection, so the unit fails, and nothing starts it again as long as
the user's service manager keeps running, for example when the user logs
in again within logind's UserStopDelaySec=. The media players of the
next session are then not registered with BlueZ.
Make the unit part of dbus.service, so that stopping the bus stops
mpris-proxy first, and have dbus.service want it, so that it is started
again together with the bus.
---
tools/mpris-proxy.service.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/mpris-proxy.service.in b/tools/mpris-proxy.service.in
index 6ae56c6..2b8a4d5 100644
--- a/tools/mpris-proxy.service.in
+++ b/tools/mpris-proxy.service.in
@@ -4,6 +4,7 @@ Documentation=man:mpris-proxy(1)
Wants=dbus.socket
After=dbus.socket dbus.service
+PartOf=dbus.service
ConditionUser=!@system
[Service]
@@ -11,4 +12,4 @@ Type=simple
ExecStart=@PKGBINDIR@/mpris-proxy
[Install]
-WantedBy=default.target
+WantedBy=default.target dbus.service
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [BlueZ] mpris-proxy: Stop and start together with dbus.service
2026-11-03 15:17 [PATCH BlueZ] mpris-proxy: Stop and start together with dbus.service Mitar
@ 2026-11-03 16:35 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-11-03 16:35 UTC (permalink / raw)
To: linux-bluetooth, mitar.git
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1200507/
---Test result---
Test Summary:
CheckPatch PASS 0.31 seconds
GitLint PASS 0.26 seconds
BuildEll PASS 14.06 seconds
BluezMake PASS 181.99 seconds
CheckSmatch PASS 179.86 seconds
bluezmakeextell PASS 66.63 seconds
TestFunctional PASS 930.63 seconds
IncrementalBuild PASS 177.63 seconds
ScanBuild PASS 604.51 seconds
https://github.com/bluez/bluez/pull/2753
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-03 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 15:17 [PATCH BlueZ] mpris-proxy: Stop and start together with dbus.service Mitar
2026-11-03 16:35 ` [BlueZ] " bluez.test.bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.