From e2dac9d3c8cbad3a66cd6573d57879784032e36b Mon Sep 17 00:00:00 2001 From: Wic Date: Sun, 2 Jan 2022 13:16:39 +0700 Subject: [PATCH] Update bluetoothd service capability Add CAP_FOWNER for fix problem with save paired device into /storage/.cache/bluetooth/ --- packages/network/bluez/system.d/bluetooth.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/network/bluez/system.d/bluetooth.service b/packages/network/bluez/system.d/bluetooth.service index 4a63139443..f95bf377d8 100644 --- a/packages/network/bluez/system.d/bluetooth.service +++ b/packages/network/bluez/system.d/bluetooth.service @@ -10,7 +10,7 @@ NotifyAccess=main EnvironmentFile=/storage/.cache/services/bluez.conf EnvironmentFile=-/run/libreelec/debug/bluez.conf ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_FOWNER LimitNPROC=1 TimeoutStopSec=1s Restart=on-failure