Linux bluetooth development
 help / color / mirror / Atom feed
From: Grant Moyer <dev@grantmoyer.com>
To: linux-bluetooth@vger.kernel.org
Cc: Grant Moyer <dev@grantmoyer.com>
Subject: [PATCH BlueZ 0/1] Enable D-Bus activation of bluetooth.service
Date: Fri, 11 Sep 2026 17:32:52 -0400	[thread overview]
Message-ID: <20260911213253.766659-1-dev@grantmoyer.com> (raw)

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


             reply	other threads:[~2026-09-11 21:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-11 21:32 Grant Moyer [this message]
2026-09-11 21:32 ` [PATCH BlueZ 1/1] org.bluez.service: enable D-Bus activation of bluetooth.service Grant Moyer
2026-09-11 22:16   ` Bastien Nocera
2026-09-11 23:56   ` Enable " bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260911213253.766659-1-dev@grantmoyer.com \
    --to=dev@grantmoyer.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox