Log not getting generated in /var/log/ on Debian

Simon Deziel simon at sdeziel.info
Mon Jul 27 22:21:12 UTC 2020


Hello,

Please see
https://lists.nlnetlabs.nl/pipermail/nsd-users/2020-May/002863.html

Regards,
Simon

On 2020-07-27 6:16 p.m., Fongaboo via Unbound-users wrote:
> 
> Also noticed this error in /var/log/syslog:
> 
> [2020-07-27 22:11:21.512] nsd[31231]: warning: Cannot reopen
> /var/log/nsd.log for appending (Read-only file system), keeping old logfile
> 
> 
> but I have made nsd.log user and group writable and owned it nsd:nsd.
> 
> 
> On Mon, 27 Jul 2020, Fongaboo wrote:
> 
>>
>> I've been running Unbound on FreeBSD for many years. Making a
>> transition to Debian, and all seems to be working well except nsd.log
>> does not seem to be generating in /var/log/ at all.
>>
>> I've got this in nsd.conf:
>>
>>        # log messages to file. Default to stderr and syslog (with
>>        # facility LOG_DAEMON).  stderr disappears when daemon goes to bg.
>>        logfile: "/var/log/nsd.log"
>>
>> Instead it seems to be piping to /var/log/syslog. How do I allow it to
>> create and append its own independent log file?
>>
>>
>> TIA
>>
>> FONG
>>



More information about the Unbound-users mailing list