Skip to contentSkip to conversation

bluez-5.43: symlink needed for sending files through bluez when dbus+user-session is used

DISCUSSION Pacho Ramos 1 participant 2 messages Dec 5, 2016 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

This is an issue we are hitting in Gentoo for a long time:
https://bugs.gentoo.org/show_bug.cgi?id=577842

Only when dbus is compiled with user-session support. It seems ArchLinux is also suffering this bug:
https://bugs.archlinux.org/task/45816

In summary, if we don't manually do this link:
ln -fs /usr/lib/systemd/user/obex.service /usr/lib/systemd/user/dbus- org.bluez.obex.service

systemd cannot launch obexd when needed and, hence, sending files fails silently (as opposed to dbus without user-session, that was able to launch obexd when needed).

Then, I am not sure if this link should be provided always or if we have something missing in bluez.service file that, even enabling it, is not enough for "fully" enabling bluetooth (as it seems obexd is not handled at all)

Thanks a lot for your help

#1 lore raw
Quoted 16 lines · Pacho Ramos

This is an issue we are hitting in Gentoo for a long time:
https://bugs.gentoo.org/show_bug.cgi?id=577842

Only when dbus is compiled with user-session support. It seems ArchLinux is also suffering this bug:
https://bugs.archlinux.org/task/45816

In summary, if we don't manually do this link:
ln -fs /usr/lib/systemd/user/obex.service /usr/lib/systemd/user/dbus- org.bluez.obex.service

systemd cannot launch obexd when needed and, hence, sending files fails
silently (as opposed to dbus without user-session, that was able to launch obexd when needed).

Quoted 7 lines

Then, I am not sure if this link should be provided always or if we have something missing in bluez.service file that, even enabling it, is
not enough for "fully" enabling bluetooth (as it seems obexd is not handled at all)

Thanks a lot for your help

And ever more instances of the problem:
https://bugzilla.redhat.com/show_bug.cgi?id=1318441
https://bugzilla.redhat.com/show_bug.cgi?id=1389347 (this points to gnome-control-center... but the issue is more deep as other packages like bluedevil and likely anything willing to send files would be affected too)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804908