* [PATCH BlueZ] tools: Fix btmon-logger service unit
@ 2018-07-23 20:31 Andrzej Kaczmarek
2018-07-27 12:02 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Kaczmarek @ 2018-07-23 20:31 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Andrzej Kaczmarek
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] tools: Fix btmon-logger service unit
2018-07-23 20:31 [PATCH BlueZ] tools: Fix btmon-logger service unit Andrzej Kaczmarek
@ 2018-07-27 12:02 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2018-07-27 12:02 UTC (permalink / raw)
To: Andrzej Kaczmarek; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-27 12:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23 20:31 [PATCH BlueZ] tools: Fix btmon-logger service unit Andrzej Kaczmarek
2018-07-27 12:02 ` Szymon Janc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.