Package: bluez
Version: 5.64-1
Severity: grave
Justification: renders package unusable

Hi,
I installed testing non-free and immediately upgraded to unstable on a lenovo 
thinkbook in the last two day. After that bluetooth was not working.
Note, that I did not test bluetooth while still being on testing.
After many attempts to get latest firmware I eventually figured out the root 
cause: the bluetooth.service was not starting due 
to a missing /var/lib/bluetooth directory.

Output for service status:

× bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor 
preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-04-21 19:56:46 CEST; 
12min ago
       Docs: man:bluetoothd(8)
    Process: 2411 ExecStart=/usr/libexec/bluetooth/bluetoothd (code=exited, 
status=226/NAMESPACE)
   Main PID: 2411 (code=exited, status=226/NAMESPACE)
        CPU: 4ms

Apr 21 19:56:46 lenovo-ben systemd[1]: Starting Bluetooth service...
Apr 21 19:56:46 lenovo-ben systemd[2411]: bluetooth.service: Failed to set up 
mount namespacing: /run/systemd/unit-root/var/lib/bluetooth: No such file or 
directory
Apr 21 19:56:46 lenovo-ben systemd[2411]: bluetooth.service: Failed at step 
NAMESPACE spawning /usr/libexec/bluetooth/bluetoothd: No such file or directory
Apr 21 19:56:46 lenovo-ben systemd[1]: bluetooth.service: Main process exited, 
code=exited, status=226/NAMESPACE
Apr 21 19:56:46 lenovo-ben systemd[1]: bluetooth.service: Failed with result 
'exit-code'.


Calling 
  install  -m 700 -d /var/lib/bluetooth
and restarting bluetooth service eventually fixed the issue.

It cost me a couple of hours to find the solution, for a less tech-savy user 
bluetooth will be not usable. Therefore I set severity to grave.

Regards
Ben


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bluez depends on:
ii  dbus [default-dbus-system-bus]  1.14.0-1
ii  init-system-helpers             1.62
ii  kmod                            29-1
ii  libasound2                      1.2.6.1-2+b1
ii  libc6                           2.33-7
ii  libdbus-1-3                     1.14.0-1
ii  libdw1                          0.186-1
ii  libglib2.0-0                    2.72.1-1
ii  libreadline8                    8.1.2-1.2
ii  libudev1                        250.4-1
ii  lsb-base                        11.1.0
ii  udev                            250.4-1

bluez recommends no packages.

Versions of packages bluez suggests:
pn  pulseaudio-module-bluetooth  <none>

-- no debconf information

Reply via email to