org.bluez.obex.service contains unresolved '@libexecdir@'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt |
Bug Description
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=@
Replacing '@libexecdir@' with '/usr/lib/
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:/
[...]
Länge: 217906 (213K) [application/
Wird in »bluez-
[...]
2021-10-03 07:40:36 (1,53 MB/s) - »bluez-
% dpkg-deb -R bluez-obexd_
% grep '@' impish/
Exec=@libexecdi
% wget https:/
[...]
Länge: 160832 (157K) [application/
Wird in »bluez-
[...]
2021-10-03 07:43:13 (2,06 MB/s) - »bluez-
% dpkg-deb -R bluez-obexd_
% grep '@' focal/usr/
Exec=@libexecdi
%
# lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
# apt-cache policy bluez-obexd
bluez-obexd:
[...]
5.
500 http://
[...]
Changed in bluez (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Yes the bug seems to exist on impish in:
/usr/ share/dbus- 1/services/ org.bluez. obex.service
Looks like it might originate from this 2013 patch:
patches/ 0001-Allow- using-obexd- without- systemd- in-the- user-sessio. patch
Perhaps it is meant to be @pkglibexecdir@ ?