This one took some time to figure out. It seems bluetoothd
does not use the DisablePlugin=
setting in /etc/bluetooth/main.conf
. To change the bluetooth name, follow the next steps.
Name
and other settings as you wish in /etc/bluetooth/main.conf
./etc/sysconfig/bluetoothd
and add options. The noplugin option lets you disable the hostname plugin. That plugin will reset the bluetooth name to the hostname regardless of the configured Name
.OPTIONS=--noplugin=hostname
override.conf
file for the service:systemctl edit bluetooth [Service] EnvironmentFile=/etc/sysconfig/bluetoothd ExecStart= ExecStart=/usr/libexec/bluetooth/bluetoothd ${OPTIONS}
systemctl daemon-reload
systemctl restart bluetooth
pgrep -a bluetooth 5494 /usr/libexec/bluetooth/bluetoothd --noplugin=hostname
bt-adapter -i