Bluetooth sockets can be only created in initial network namespace thus
btmon-logger will fail to open monitor socket with PrivateNetwork=true
since this sets up new network namespace for created process.
---
tools/bluetooth-logger.service.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/bluetooth-logger.service.in b/tools/bluetooth-logger.service.in
index 210bf59ac..026a2f130 100644
--- a/tools/bluetooth-logger.service.in
+++ b/tools/bluetooth-logger.service.in
@@ -12,7 +12,6 @@ ProtectHome=true
ProtectSystem=full
PrivateTmp=true
PrivateDevices=true
-PrivateNetwork=true
[Install]
WantedBy=bluetooth.target
--
2.18.0
Hi Andrzej,
On Monday, 23 July 2018 22:31:58 CEST Andrzej Kaczmarek wrote:
> Bluetooth sockets can be only created in initial network namespace thus
> btmon-logger will fail to open monitor socket with PrivateNetwork=true
> since this sets up new network namespace for created process.
> ---
> tools/bluetooth-logger.service.in | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/bluetooth-logger.service.in
> b/tools/bluetooth-logger.service.in index 210bf59ac..026a2f130 100644
> --- a/tools/bluetooth-logger.service.in
> +++ b/tools/bluetooth-logger.service.in
> @@ -12,7 +12,6 @@ ProtectHome=true
> ProtectSystem=full
> PrivateTmp=true
> PrivateDevices=true
> -PrivateNetwork=true
>
> [Install]
> WantedBy=bluetooth.target
Patch applied, thanks.
--
pozdrawiam
Szymon Janc