On 30/07/2021 01:17, Alan DeKok wrote:
On Jul 29, 2021, at 7:30 PM, CpServiceSPb <cpservicespb@gmail.com> wrote:
During DHCP conversation with clients using broadcast accepting (IP 0.0.0.0) interface, the following message is got and DHCP don' t assign to the client: "Failed adding ARP entry: Failed to add entry in ARP cache: Operation not permitted (1)"
I don' t want to launch Freeradius under either root user or root/admin group.
What is the best solution to avoid the error under freerad:freerad and move on ?
Linux capabilities. See sites-available/dhcp. Look for "setcap". If it's not there, upgrade to a more recent version.
Would be worth seeing if this PR fixes it https://github.com/FreeRADIUS/freeradius-server/pull/4150 Or just launch as root and let FreeRADIUS drop privs, as it has done just fine for years before systemd barged on to the scene and broke everything. -- Matthew