From be21d771ff676e7a85465be0d0ffc56795f49b1f Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Fri, 22 Jan 2021 19:06:15 +0200 Subject: [PATCH] [#1629] updated documentation --- doc/sphinx/arm/install.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/arm/install.rst b/doc/sphinx/arm/install.rst index 469c2eb012..57d8865e67 100644 --- a/doc/sphinx/arm/install.rst +++ b/doc/sphinx/arm/install.rst @@ -588,9 +588,16 @@ more information. .. code-block:: console - setcap 'cap_net_bind_service,cap_net_raw=+ep' /usr/local/sbin/kea-dhcp4 + setcap 'cap_net_bind_service,cap_net_raw=+ep' /opt/kea/sbin/kea-dhcp4 setcap 'cap_net_bind_service=+ep' /opt/kea/sbin/kea-dhcp6 +If using systemd, also add this to service file +(e.g. /etc/systemd/system/kea-dhcp6.service): + +.. code-block:: console + +ExecStartPre=setcap 'cap_net_bind_service=+ep' /opt/kea/sbin/kea-dhcp6 + After this step is complete, the admin user should be able to run Kea. Note that DHCPv4 server by default opens raw sockets. If the network is only using relayed traffic, Kea can be instructed to use regular UDP sockets (refer to ``dhcp-socket-type`` parameter in the