Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] Enable D-Bus activation of bluetooth.service
@ 2026-09-11 21:32 Grant Moyer
  2026-09-11 21:32 ` [PATCH BlueZ 1/1] org.bluez.service: enable " Grant Moyer
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Moyer @ 2026-09-11 21:32 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Grant Moyer

D-Bus can automatically launch programs on demand when a message is sent to their bus name. Bluez provides src/org.bluez.service for this purpose, but it writes "dbus-org.bluez.service" for the Systemd service name, while the Systemd service is actually named bluetooth.service (generated from src/bluetooth.service.in). The Systemd service defines an alias named dbus-org.bluez.service, but Systemd aliases only come into effect once a unit is enabled.

Effectively, this means that instead of launching bluetoothd on demand whenever it's requested, D-Bus activation is only used if the service is enabled but happens to not be running, such as the first time it's enabled or if it crashes.

Grant Moyer (1):
  org.bluez.service: enable D-Bus activation of bluetooth.service

 src/org.bluez.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 61a2b3d93897b04fb921a4fb229c0831d13807a8
-- 
2.55.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-11 23:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11 21:32 [PATCH BlueZ 0/1] Enable D-Bus activation of bluetooth.service Grant Moyer
2026-09-11 21:32 ` [PATCH BlueZ 1/1] org.bluez.service: enable " Grant Moyer
2026-09-11 22:16   ` Bastien Nocera
2026-09-11 23:56   ` Enable " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox