Modify the capability option for systemd meshd_integrate
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 24 Dec 2020 01:51:07 +0000 (10:51 +0900)
committerAnupam Roy <anupam.r@samsung.com>
Mon, 4 Jan 2021 05:49:25 +0000 (11:19 +0530)
Change-Id: I401965ca58820038f23c1caac0bd5bc2b114a233
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
mesh/bluetooth-mesh.service.in
src/bluetooth.service.in

index 62b6dcf..6483106 100644 (file)
@@ -7,7 +7,7 @@ Group=network_fw
 Type=dbus
 BusName=org.bluez.mesh
 ExecStart=@pkglibexecdir@/bluetooth-meshd --nodetach --debug --use_raw
-Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=eip
+Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=i
 SecureBits=keep-caps
 SmackProcessLabel=System
 KillMode=process
index 9b31421..11de4cb 100755 (executable)
@@ -8,7 +8,7 @@ Group=network_fw
 Type=dbus
 BusName=org.bluez
 ExecStart=@pkglibexecdir@/bluetoothd -d -C
-Capabilities=cap_net_admin,cap_net_bind_service,cap_dac_override=eip
+Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=i
 SecureBits=keep-caps
 SmackProcessLabel=System
 KillMode=process