Freeradius DHCP and "Failed adding ARP entry: Failed to add entry in ARP cache: Operation not permitted (1)"
Matthew Newton
mcn at freeradius.org
Fri Jul 30 03:03:01 CEST 2021
On 30/07/2021 01:17, Alan DeKok wrote:
> On Jul 29, 2021, at 7:30 PM, CpServiceSPb <cpservicespb at 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
More information about the Freeradius-Users
mailing list