Re: [Dnsmasq-discuss] Permission denied on logfile

2021-09-22 Thread Johannes Stezenbach
On Tue, Sep 21, 2021 at 09:40:17PM +0100, Simon Kelley wrote: > On 21/09/2021 20:54, Johannes Stezenbach wrote: > > This works the first time, but fails after dnsmasq is restarted: > > dnsmasq: cannot open log /tmp/dnsmasq.log: Permission denied > > > > $ ls -l /tmp/dnsmasq.log > > -rw-r- 1

Re: [Dnsmasq-discuss] Permission denied on logfile

2021-09-21 Thread Simon Kelley
On 21/09/2021 20:54, Johannes Stezenbach wrote: > Hi, > > a minor issue I noticed while debugging: > > I added this to the dnsmasq command line: > --log-queries=extra --log-debug --log-facility=/tmp/dnsmasq.log > (actually set in DNSMASQ_OPTS in /etc/default/dnsmasq in Debian) > > This work

[Dnsmasq-discuss] Permission denied on logfile

2021-09-21 Thread Johannes Stezenbach
Hi, a minor issue I noticed while debugging: I added this to the dnsmasq command line: --log-queries=extra --log-debug --log-facility=/tmp/dnsmasq.log (actually set in DNSMASQ_OPTS in /etc/default/dnsmasq in Debian) This works the first time, but fails after dnsmasq is restarted: dnsmasq: ca