Bug#804908: service is not started under systemd

Michael Biebl biebl at debian.org
Thu Nov 12 19:19:47 GMT 2015


Package: bluez-obexd
Version: 5.36-1
Severity: serious

Hi,

currently bluez-obexd is broken under systemd:
When trying to access the D-Bus service, on get's

Acquiring proxy failed: Fehler beim Aufruf von StartServiceByName für
org.bluez.obex: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit
dbus-org.bluez.obex.service failed to load: No such file or directory.

/usr/share/dbus-1/services/org.bluez.obex.service
references
SystemdService=dbus-org.bluez.obex.service

That is a symlink though, which is only created if the user explicitly
runs "systemctl enable --user obex.service", which in my case will
result in
Created symlink from
/home/michael/.config/systemd/user/dbus-org.bluez.obex.service to
/usr/lib/systemd/user/obex.service.


There is no infrastructure to run that systemctl enable command for
every user and I think obexd should be enabled by default. I therefor
suggest to change /usr/share/dbus-1/services/org.bluez.obex.service and
use
SystemdService=obex.service

The obexd service will then be started on-demand without requiring
explicit user configuration.

Regards,
Michael





-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bluez-obexd depends on:
ii  libc6         2.19-22
ii  libdbus-1-3   1.10.2-1
ii  libglib2.0-0  2.46.2-1
ii  libical1a     1.0.1-0.1

bluez-obexd recommends no packages.

bluez-obexd suggests no packages.

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list