systemd bluetooth not honoring stop service

Bug #2064869 reported by Rick S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
New
Undecided
Unassigned

Bug Description

systemd stop bluetooth.service no longer stops bluetooth.

And systemd disable bluetooth.service, restarts after reboot

"systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset>
     Active: active (running) since Sun 2024-05-05 08:20:37 MDT; 1h 22min ago
       Docs: man:bluetoothd(8)
   Main PID: 140617 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 16490)
     Memory: 1.6M (peak: 1.9M)
        CPU: 57ms
     CGroup: /system.slice/bluetooth.service
             └─140617 /usr/libexec/bluetooth/bluetoothd

May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Endpoint registered: sender>
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Failed to add UUID: Failed >
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Failed to add UUID: Failed >
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Failed to add UUID: Failed >
May 05 08:20:37 me-Legion-5-zfs bluetoothd[140617]: Failed to add UUID: Failed >
lines 1-22/22 (END)
"

If you need more just ask.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: systemd 255.4-1ubuntu8
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Sun May 5 09:38:14 2024
InstallationDate: Installed on 2024-04-19 (16 days ago)
InstallationMedia: Xubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240419)
MachineType: LENOVO 82JW
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_ntiqi9@/vmlinuz-6.8.0-31-generic root=ZFS=rpool/ROOT/ubuntu_ntiqi9 ro
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/07/2023
dmi.bios.release: 1.36
dmi.bios.vendor: LENOVO
dmi.bios.version: HHCN36WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76465 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Legion 5 15ACH6
dmi.ec.firmware.release: 1.36
dmi.modalias: dmi:bvnLENOVO:bvrHHCN36WW:bd12/07/2023:br1.36:efr1.36:svnLENOVO:pn82JW:pvrLegion515ACH6:rvnLENOVO:rnLNVNB161216:rvrSDK0T76465WIN:cvnLENOVO:ct10:cvrLegion515ACH6:skuLENOVO_MT_82JW_BU_idea_FM_Legion515ACH6:
dmi.product.family: Legion 5 15ACH6
dmi.product.name: 82JW
dmi.product.sku: LENOVO_MT_82JW_BU_idea_FM_Legion 5 15ACH6
dmi.product.version: Legion 5 15ACH6
dmi.sys.vendor: LENOVO

Revision history for this message
Rick S (1fallen) wrote :
Revision history for this message
Rick S (1fallen) wrote :

I forgot this that "might" help.

**" systemctl stop bluetooth.service
┌───────────────────>
│~
└─>
(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:15.181: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:16.283: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:16.385: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:16.888: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:18.042: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:18.243: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:18.444: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:49:18.545: Unable to replace properties on 0: Error getting properties for ID

┌───────────────────>
│~
└─> systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset>
     Active: active (running) since Sun 2024-05-05 09:49:15 MDT; 13s ago
       Docs: man:bluetoothd(8)
   Main PID: 247580 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 16490)
     Memory: 1.1M (peak: 1.3M)
        CPU: 45ms
     CGroup: /system.slice/bluetooth.service
             └─247580 /usr/libexec/bluetooth/bluetoothd

May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Endpoint registered: sender>
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Failed to add UUID: Failed >
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Failed to add UUID: Failed >
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Failed to add UUID: Failed >
May 05 09:49:15 me-Legion-5-zfs bluetoothd[247580]: Failed to add UUID: Faile"

Revision history for this message
Rick S (1fallen) wrote :

This will disable it for the current session:

**" rfkill list
0: ideapad_wlan: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
1: ideapad_bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: hci1: Bluetooth
 Soft blocked: no
 Hard blocked: no
4: phy0: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
┌───────────────────>
│~
└─> rfkill block 1 2

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:57:44.532: Unable to replace properties on 0: Error getting properties for ID

(wrapper-2.0:231189): LIBDBUSMENU-GLIB-WARNING **: 09:57:44.633: Unable to replace properties on 0: Error getting properties for ID
"
A check with rfkill
*" rfkill list all
0: ideapad_wlan: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
1: ideapad_bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: yes
 Hard blocked: no
3: hci1: Bluetooth
 Soft blocked: no
 Hard blocked: no
4: phy0: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
"*

Revision history for this message
neo (csae2608) wrote :

issue here is with Laptop Lenovo Thinkpad A475 which has no longer hard-switch to disable WiFi/Bluetooth;
now with newer edition of Ubuntu eg. 22.04 or 24.04, the softSwitch of Bluetooth Disabling in Ubuntu menu does not persist; when Laptop is in "Airplane Mode", and goes to sleep, after waking from sleep, the Bluetooth is again enabled, and hence "Airplane Mode" needs to be enabled again manually by clicking tthe Bluetooth icon for disable;
this is clearly unwanted behaviour, but maybe just relegated to specific laptop models;
Can confirm issue this for Thinkpad A475 and A275.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

This sounds like a bluez bug, not systemd.

affects: systemd (Ubuntu) → bluez (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.