Public bug reported:

After upgrading a machine from Ubuntu Bionic to Ubuntu Focal yesterday,
the following error message showed up in the syslog:

Oct  2 23:14:52 desktop01 dbus-daemon[1764]: [session uid=0 pid=1760]
Activated service 'org.bluez.obex' failed: Failed to execute program
org.bluez.obex: No such file or directory

Upon inspection, this was due to the fact that the service definition
contained the line 'Exec=@libexecdir@/obexd' which could not be resolved
(this placeholder is supposedly to be replaced at build time).

Replacing '@libexecdir@' with '/usr/lib/bluetooth' resolved this
(together with 'systemctl --user daemon-reload; systemctl --user restart
obex').

Note that this problem should be part of *all* current versions of the
bluez[-obexd] package, regardless of the used architecture (including
Focal, Impish):

% wget 
https://launchpad.net/ubuntu/+archive/primary/+files/bluez-obexd_5.60-0ubuntu2_amd64.deb
[...]
Länge: 217906 (213K) [application/x-debian-package]
Wird in »bluez-obexd_5.60-0ubuntu2_amd64.deb« gespeichert.
[...]
2021-10-03 07:40:36 (1,53 MB/s) - »bluez-obexd_5.60-0ubuntu2_amd64.deb« 
gespeichert [217906/217906]

% dpkg-deb -R bluez-obexd_5.60-0ubuntu2_amd64.deb impish
% grep '@' impish/usr/share/dbus-1/services/org.bluez.obex.service
Exec=@libexecdir@/obexd
% wget 
https://launchpad.net/ubuntu/+archive/primary/+files/bluez-obexd_5.53-0ubuntu3.3_arm64.deb
[...]
Länge: 160832 (157K) [application/x-debian-package]
Wird in »bluez-obexd_5.53-0ubuntu3.3_arm64.deb« gespeichert.
[...]
2021-10-03 07:43:13 (2,06 MB/s) - »bluez-obexd_5.53-0ubuntu3.3_arm64.deb« 
gespeichert [160832/160832]

% dpkg-deb -R bluez-obexd_5.53-0ubuntu3.3_arm64.deb focal
% grep '@' focal/usr/share/dbus-1/services/org.bluez.obex.service
Exec=@libexecdir@/obexd
%


# lsb_release -rd
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
# apt-cache policy bluez-obexd
bluez-obexd:
[...]
     5.53-0ubuntu3.3 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
[...]

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945887

Title:
  org.bluez.obex.service contains unresolved '@libexecdir@'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1945887/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to