Linux bluetooth development
 help / color / mirror / Atom feed
From: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
To: linux-bluetooth@vger.kernel.org
Cc: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
Subject: [PATCH BlueZ] tools: Fix btmon-logger service unit
Date: Mon, 23 Jul 2018 22:31:58 +0200	[thread overview]
Message-ID: <20180723203158.12264-1-andrzej.kaczmarek@codecoup.pl> (raw)

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


             reply	other threads:[~2018-07-23 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 20:31 Andrzej Kaczmarek [this message]
2018-07-27 12:02 ` [PATCH BlueZ] tools: Fix btmon-logger service unit Szymon Janc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180723203158.12264-1-andrzej.kaczmarek@codecoup.pl \
    --to=andrzej.kaczmarek@codecoup.pl \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox