In data mercoledì 28 febbraio 2024 14:57:37 CET, Darryl Gregorash ha scritto:
On 2024-02-28 05:18, Andrei Borzenkov wrote:
On Wed, Feb 28, 2024 at 2:09 PM Darryl Gregorash <raven@accesscomm.ca> wrote:
On 2024-02-28 03:36, Stakanov via openSUSE Users wrote:
I do not see obex running. When I ask for status it gives:
entropy@silversurfer:~> systemctl status dbus-org.bluez.obex.service Unit dbus-org.bluez.obex.service could not be found.
This means the service isn't even installed.
Or that it is user service.
Possibly. However...
I installed bluez.obexd to check this out. There is a user service called obex.service:
[Unit] Description=Bluetooth OBEX service
[Service] Type=dbus BusName=org.bluez.obex ExecStart=/usr/lib/bluetooth/obexd
[Install] Alias=dbus-org.bluez.obex.service
and a D-Bus service file called org.bluez.obex.service which is found in /usr/share/dbus-1/services. Here is that file:
[D-BUS Service] Name=org.bluez.obex Exec=/bin/false SystemdService=dbus-org.bluez.obex.service
I know nothing about bluetooth or these dbus services, so by this point, I haven't got a clue what is going on. Time for a google search, "dbus-org.bluez.obex.service not found".
From https://bugs.archlinux.org/task/45816, try this (as root): systemctl --global enable obex.
Because of that Alias line in obex.service, this is where our missing file is born: # systemctl --global enable obex.service Created symlink /etc/systemd/user/dbus-org.bluez.obex.service → /usr/lib/systemd/user/obex.service
Now the service is enabled for every user on the system. I'm not certain, but I think it should also be started whenever a user logs in -- if not, then certainly whenever a bluetooth call is made on the dbus.
ntropy@silversurfer:~> sudo systemctl --global enable obex [sudo] password di root: Created symlink /etc/systemd/user/dbus-org.bluez.obex.service → /usr/lib/ systemd/user/obex.service.
But when I do status:
entropy@silversurfer:~> systemctl status dbus-org.bluez.obex.service Unit dbus-org.bluez.obex.service could not be found.
hmmmmm, so maybe I have to reboot first. Not really. Notice where those files are located -- this is a user service, so you need to use the --user flag with systemctl (don't run
On 2024-02-28 08:10, Stakanov via openSUSE Users wrote: this as root): systemctl --user status dbus-org.bluez.obex.service