Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-21 Thread Guido Günther
retitle 798653 Should detect entries removed from files in hostsdir=/dir/ and not serve them anymore severity 798653 wishlist thanks On Mon, Sep 21, 2015 at 10:16:26PM +0100, Simon Kelley wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > > > > What does not seem to work is that

Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-21 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > What does not seem to work is that addresses removed from the file > are removed from the cache immediately. So if I remove the entry > for sid it will still be served. > That's documented behaviour. New or changed files are read, so extra inf

Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-19 Thread Guido Günther
Hi, On Fri, Sep 18, 2015 at 10:23:57PM +0100, Simon Kelley wrote: [..snip..] > > A SIGHUP also lets the daemon server the entries from the hostdir. > > > > Cheers, > > -- Guido > > > > Ok, a trivial attempt to reproduce this fails for me. I create a new > file in the directory with a new name i

Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-18 Thread Simon Kelley
On 11/09/15 15:54, Guido Günther wrote: > On Fri, Sep 11, 2015 at 03:57:19PM +0200, Guido Günther wrote: >> Package: dnsmasq >> Version: 2.75-1 >> Severity: normal >> >> Hi, >> I just tried your suggestion with --hostdir=/tmp/test. While I see these >> log messages nicely: >> >> Sep 11 15:53:49 foo

Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-11 Thread Guido Günther
On Fri, Sep 11, 2015 at 03:57:19PM +0200, Guido Günther wrote: > Package: dnsmasq > Version: 2.75-1 > Severity: normal > > Hi, > I just tried your suggestion with --hostdir=/tmp/test. While I see these > log messages nicely: > > Sep 11 15:53:49 foo dnsmasq[14616]: inotify, new or changed file >

Bug#798653: hosts from hostsdir=/dir/ picked up but not served

2015-09-11 Thread Guido Günther
Package: dnsmasq Version: 2.75-1 Severity: normal Hi, I just tried your suggestion with --hostdir=/tmp/test. While I see these log messages nicely: Sep 11 15:53:49 foo dnsmasq[14616]: inotify, new or changed file /tmp/test/libvirt-qemu%3A%2F%2F%2Fsystem.hosts.tmp Sep 11 15:53:49 foo dnsmasq[1461