public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 BlueZ 0/2] obexd: only run one instance at once
@ 2025-04-18 15:30 Andrew Sayers
  2025-04-18 15:30 ` [PATCH BlueZ v2 1/2] build: add bluez.tmpfiles Andrew Sayers
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Sayers @ 2025-04-18 15:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Andrew Sayers

Obex is a device-oriented protocol, so only one instance can run per device.
But Linux file security is user-oriented, so obexd should be a user service.
Tell systemd to only run this service for the first non-system user to log in.

This series causes systemd not to run obexd if it would just generate errors,
after adding a new bluez.tmpfiles file that distributors will need to install.

Signed-off-by: Andrew Sayers <kernel.org@pileofstuff.org>
---

V1 -> V2 add a hint in obex.service.in about installing the tmpfile
         (recommended by Luiz Augusto von Dentz)

Andrew Sayers (2):
      build: add bluez.tmpfiles
      obexd: only run one instance at once

 .gitignore                | 1 +
 configure.ac              | 1 +
 obexd/src/obex.service.in | 9 +++++++++
 tools/bluez.tmpfiles.in   | 1 +
 4 files changed, 12 insertions(+)


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

end of thread, other threads:[~2025-04-18 18:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18 15:30 [PATCH v2 BlueZ 0/2] obexd: only run one instance at once Andrew Sayers
2025-04-18 15:30 ` [PATCH BlueZ v2 1/2] build: add bluez.tmpfiles Andrew Sayers
2025-04-18 15:35   ` Luiz Augusto von Dentz
2025-04-18 16:40     ` Andrew Sayers
2025-04-18 17:26       ` Pauli Virtanen
2025-04-18 18:09         ` Luiz Augusto von Dentz
2025-04-18 15:30 ` [PATCH BlueZ v2 2/2] obexd: only run one instance at once Andrew Sayers
2025-04-18 16:16 ` [PATCH v2 BlueZ 0/2] " Pauli Virtanen

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