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 62b6dcf2dad8915f534b909cb2f243b79f6309eb..6483106aa4125fd0dbf5284917f070343791ac86 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 9b3142142412cc0c2326e4612d728b92d5bcf35b..11de4cbd10d7e278f24046f65349592ef70faec7 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