無法啟動 BlueZ - D-Bus 設定失敗

無法啟動 BlueZ - D-Bus 設定失敗

在 Raspberry Pi Model 3 上執行 Ubuntu Server v18

嘗試從 systemd 啟動 Bluez 服務失敗,原因如下:

D-Bus 設定失敗:由於設定檔中的安全性策略,不允許連接「1.37」擁有服務 org.bluez。

掃描了日誌是否有 AppArmor 拒絕,但沒有發現任何情況。

該訊息指的是什麼安全性策略和設定檔?

答案1

對我來說(Bluez:5.50),我所需要做的就是編輯/etc/bluetooth/main.conf和添加ControllerMode=le.

然後重新啟動。

相關內容