Launch obexd directly instead of through a systemd service (Failed to start org.bluez.obex)
Task Info (Flyspray) | |
---|---|
Opened By | hurricane pootis (HurricanePootis) |
Task ID | 77681 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-03-01 00:02:30 UTC |
Status | Assigned |
Assignee | Andreas Radke (AndyRTR) |
Details
Description: Change bluez's obex dbus service to launch dbus directly instead of relying on a systemd service
Additional info: https://bugs.kde.org/show_bug.cgi?id=464929
As of recently, at least since KDE 5.26, KDE has been unable to launch obexd through dbus. In the bug linked above, in both kde 5.26 and at least kde 5.27.2, KDE has been unable to launch obexd through dbus, and after a lot of testing of different configuration, the only thing that made obexd work on my system was having the dbus service launch it directly. Yes, I did try systemctl --user enable obex
, and # systemctl --global enable obex
, and systemctl --user start obex
, and it never worked. For whatever reason, whenever dbus goes to start the org.bluez.obex.service, it exits with a status 1 (according to the dolphin output).
That's why, I am creating this bug report so this patch can be introduced. I will try to test it out on GNOME later, whenever I get the chance, and I openly invite everyone who sees this to give it a whirl on their system. I'd hate for my fix to cause a lot of grief for other people.
I have attached a patch file for the PKGBUILD itself, and a patch file for the service.
Also, the reason why I am not going to bother submitting this patch upstream to bluez is that I don't know how likely it is that they will take this, nor do I have a git email setup.
Steps to reproduce:
- Install KDE, bluez, and bluedevil
- Connect phone through bluetooth to the computer
- Attempt to send a file through dolphin
- See the following error: 'Failed to start org.bluez.obex.service: Process org.bluez.obex exite'
Additional Thoughts: If y'all think its best that this patch also be sent upstream to bluez themselves, I would be down. But, I don't think those professional developers would appreciate a change like this coming from an "end-user" ?.