Skip to content

obexd: only run one instance at once

Andrew Sayers linux-bluetooth 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2build: add bluez.tmpfiles.gitignore configure.ac tools/bluez.tmpfiles.in+2 -04 replies
2/2obexd: only run one instance at onceobexd/src/obex.service.in tools/bluez.tmpfiles.in+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 BlueZ 0/2] obexd: only run one instance at once

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.

---

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(+)