Re: [Dnsmasq-discuss] Fwd: no-ping

2024-02-20 Thread Martin Ivičič
:07 AM Simon Kelley wrote: > That would work, I think. Please try it and report back. > > Simon. > > On 20/02/2024 23:53, Martin Ivičič wrote: > > Our intent is to run tests in CI where we can't use root user or set any > > capabilities (eventually we'll be running wit

Re: [Dnsmasq-discuss] Fwd: no-ping

2024-02-20 Thread Martin Ivičič
o avoid CAP_NET_ADMIN, but a correct patch > to do that would only not set need_cap_netadmin when --broadcast is set, > and only when it's set unconditionally, without tags. > > Cheers, > > Simon. > > > On 20/02/2024 00:50, Martin Ivičič wrote: > > I'm currently running dnsmas

Re: [Dnsmasq-discuss] Fwd: no-ping

2024-02-19 Thread Martin Ivičič
determining that it needs CPA_NET_ADMIN to run the DHCP server, and > erroring out because it doesn't have it. > > > Simon. > > > On 19/02/2024 15:32, Martin Ivičič wrote: > > Hello, > > > > I might have stumbled upon a minor bug in dnsmasq which causes NET_A

[Dnsmasq-discuss] Fwd: no-ping

2024-02-19 Thread Martin Ivičič
Hello, I might have stumbled upon a minor bug in dnsmasq which causes NET_ADMIN capability being required even if it's actually not needed (according to provided command line arguments). diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 30fb419..cef42f6 100644 --- a/src/dnsmasq.c +++