Dear Maintainer,
After a recent full-upgrade from buster to bullseye, bluetooth is not working.
It appears the system is looking for the bluetooth daemon executable in the
/usr/lib/bluetooth/ directory
but no such directory exists. There is a directory called
/usr/libexec/bluetooth/
that has a bluetoothd executable. I have tried reinstalling almost all the
bluetooth-related packages
hoping it might solve the issue by creating missing symlinks or whatever but it
did not.
I also have the bluez package installed and I wasn't certain which package to
file this bug against.
The output of "systemctl status bluetooth" gives:
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor
preset: enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─01-disable-sap-plugin.conf
Active: failed (Result: exit-code) since Tue 2021-10-26 12:25:19 +08; 8min
ago
Docs: man:bluetoothd(8)
Process: 4917 ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap
(code=exited, status=203/EXEC)
Main PID: 4917 (code=exited, status=203/EXEC)
CPU: 4ms
Oct 26 12:25:19 mycomputername systemd[1]: Starting Bluetooth service...
Oct 26 12:25:19 mycomputername systemd[4917]: bluetooth.service: Failed to
locate executable /usr/lib/bluetooth/bluetoothd: No such file or directory
Oct 26 12:25:19 mycomputername systemd[4917]: bluetooth.service: Failed at step
EXEC spawning /usr/lib/bluetooth/bluetoothd: No such file or directory
Oct 26 12:25:19 mycomputername systemd[1]: bluetooth.service: Main process
exited, code=exited, status=203/EXEC
Oct 26 12:25:19 mycomputername systemd[1]: bluetooth.service: Failed with
result 'exit-code'.
Oct 26 12:25:19 mycomputername systemd[1]: Failed to start Bluetooth service.
-- System Information:
Debian Release: 11.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-9-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bluetooth depends on:
ii bluez 5.55-3.1
bluetooth recommends no packages.
Versions of packages bluetooth suggests:
ii bluez-cups 5.55-3.1
pn bluez-meshd <none>
ii bluez-obexd 5.55-3.1
Hi, I just encountered the same problem when upgrading a machine from
Buster to Bullseye.
I also had the same override filename, and I had also put a link to
where it came from:
➜ ~ cat /etc/systemd/system/bluetooth.service.d/01-disable-sap-plugin.conf
# https://raspberrypi.stackexchange.com/questions/40839/sap-error-on-bluetooth-service-status
# SIM Access profile problem
[Service]
ExecStart=
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap
I had used this as a workaround for the bluetooth services failing to
start due to a sap driver failure. It looks like this problem no longer
exists on Bullseye so you are safe to remove the file:
# rm /etc/systemd/system/bluetooth.service.d/01-disable-sap-plugin.conf
# systemctl daemon-reexec
# systemctl restart bluetooth
You should find it works after that.
Chris
-- System Information:
Debian Release: 11.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bluez depends on:
ii dbus 1.12.20-2
ii init-system-helpers 1.60
ii kmod 28-1
ii libasound2 1.2.4-1.1
ii libc6 2.31-13+deb11u2
ii libdbus-1-3 1.12.20-2
ii libdw1 0.183-1
ii libglib2.0-0 2.66.8-1
ii libreadline8 8.1-1
ii libudev1 247.3-6
ii lsb-base 11.1.0
ii udev 247.3-6
bluez recommends no packages.
Versions of packages bluez suggests:
ii pulseaudio-module-bluetooth 14.2-2
-- no debconf information