2015-04-07 20:09:36

by Cristian Rodríguez

[permalink] [raw]
Subject: [PATCH] bluetooth.service.in: do not start if CAP_NET_ADMIN was dropped

which is the case of systemd-nspawn containers started with --private-network
---
src/bluetooth.service.in | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
index 35e9457..153840a 100644
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=Bluetooth service
Documentation=man:bluetoothd(8)
+ConditionCapability=CAP_NET_ADMIN

[Service]
Type=dbus
--
2.3.4