You are not logged in.
Pages: 1
I have enabled the bluetooth service on my arch system via systemctl, but when I try to start the bluetooth service, I get an error:
"Failed to start bluetooth.service: Unit bluetooth.service has a bad unit file setting.
See system logs and 'systemctl status bluetooth.service' for details."
systemctl status bluetooth.service returns:
"Warning: The unit file, source configuration file or drop-ins of bluetooth.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● bluetooth.service - Bluetooth service
Loaded: bad-setting (Reason: Unit bluetooth.service has a bad unit file setting.)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─policy.conf
Active: inactive (dead)
Docs: man:bluetoothd(8)
Sep 23 22:15:13 <name_of_pc> systemd[1]: bluetooth.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot s>
Sep 23 22:15:13 <name_of_pc> systemd[1]: bluetooth.service: Cannot add dependency job, ignoring: Exec format error
Furthermore, in journalctl I find this error:
"bluetoothd[14204]: Unable to get on D-Bus"
Last edited by mathijs123 (2018-09-23 20:31:37)
Offline
The stock bluetooth service does not lead to this error message (and does not have multiple ExecStart=) what have you changed in your service file?
Offline
Hi V1del, thanks for your reply.
I can't remember having changed anything in my service file. I tried reinstalling bluez and bluez-utils, I also tried installing nluez-git, but with no avail.
Are there some configuration files that I can delete?
Offline
What is /etc/systemd/system/bluetooth.service.d/policy.conf, is it owned by a package? It is not from a repo package.
EDIT: it seems the wiki suggests that the file should exist and should indeed have two ExecStart lines.
Last edited by Trilby (2018-09-24 03:32:29)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Update: Bluetooth is working, can connect devices
Solution: I removed policy.conf, located at: /etc/systemd/system/bluetooth.service.d/
Offline
I don't use bluetooth, but these results may suggest that the wiki page needs an update.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1