[Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-05 Thread Lindgren Fredrik
Hi, I'm using the option: "dhcp-optsdir=/etc/dnsmasq.d/opts/" in dnsmasq.conf file This works fine when I add or change options. Problem I'm having is when I remove a entry in a options file or remove a file completely (include sending SIGHUP to process) Then entries aren't removed Is this e

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-06 Thread Simon Kelley
Sending SIGHUP _should_ force all options to be deleted and re-read. When you say the entries are not removed, how are you measuring this? It's quite likely that a DHCP client, having been sent an option, will continue you using it whilst the least is renewed, even if the DHCP server stops sending

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-06 Thread Lindgren Fredrik
Br, Fredrik Från: Dnsmasq-discuss för Simon Kelley Skickat: den 7 mars 2018 00:36 Till: dnsmasq-discuss@lists.thekelleys.org.uk Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem Sending SIGHUP _should_ force all options to be deleted and re-read. When you

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Andy Hawkins
Hi, In article , Lindgren Fredrik wrote: > What I did to test this was to add "option:router,10.243.0.1" to a new opti= > on file. > > Which is re-read by dnsmasq > > > I start a dhclient that I'm testing with, output in console of dnsmasq indi= > cate that router entry is part of resp

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem Hi, In article , Lindgren Fredrik wrote: > What I did to test this was to add "option:router,10.243.0.1" to a new opti= > on file. > > Which is re-read by dnsmasq > > > I start a dh

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread john doe
On 3/7/2018 8:19 AM, Lindgren Fredrik wrote: What I did to test this was to add "option:router,10.243.0.1" to a new option file. Which is re-read by dnsmasq I start a dhclient that I'm testing with, output in console of dnsmasq indicate that router entry is part of response (also seen in dhc

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
edrik Från: Dnsmasq-discuss för john doe Skickat: den 7 mars 2018 13:10 Till: dnsmasq-discuss@lists.thekelleys.org.uk Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem On 3/7/2018 8:19 AM, Lindgren Fredrik wrote: > What I did to test thi

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Simon Kelley
> > > /Fredrik > > > > *Från:* Dnsmasq-discuss > för Andy Hawkins > > *Skickat:* den 7 mars 2018 11:13 > *Till:* dnsmasq-discuss@lists.thekelleys.org.uk > *Ämne:* Re: [Dnsmasq-discuss]

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
rs 2018 13:43 Till: dnsmasq-discuss@lists.thekelleys.org.uk Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem OK, sounds like there may be a bug. I'll try and reproduce this in the next day or two. Cheers, Simon. On 07/03/18 11:39, Lindgren Fredrik wrote: > I&#x

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-08 Thread Simon Kelley
> *Från:* Dnsmasq-discuss > för Simon Kelley > > *Skickat:* den 7 mars 2018 13:43 > *Till:* dnsmasq-discuss@lists.thekelleys.org.uk > *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options proble

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-09 Thread Lindgren Fredrik
rik > > > *Från:* Dnsmasq-discuss > för Simon Kelley > > *Skickat:* den 7 mars 2018 13:43 > *Till:* dnsmasq-discuss@lists.thekelleys.org.uk > *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove o

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-09 Thread Simon Kelley
--- > *Från:* Simon Kelley > *Skickat:* den 8 mars 2018 19:53 > *Till:* Lindgren Fredrik; dnsmasq-discuss@lists.thekelleys.org.uk > *Ämne:* Re: SV: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options > problem >   > Found the problem. Patch here. > > htt