<div dir="ltr"><div>Shifting to another distribution will solve the problem indeed.</div><div>This seems to be a long pending problem in Debian, it seems.</div><div><br></div><div>It has been discussed thoroughly  before in this forum, but I could not see any helpful solution.</div><div><br></div><div><a href="https://www.mail-archive.com/nsd-use">https://www.mail-archive.com/nsd-use</a><br></div><div><a href="https://forums.raspberrypi.com/viewtopic.php?t=247931rs@nlnetlabs.nl/msg00082.html">https://forums.raspberrypi.com/viewtopic.php?t=247931rs@nlnetlabs.nl/msg00082.html</a></div><div><a href="https://www.mail-archive.com/nsd-users@nlnetlabs.nl/msg00082.html">https://www.mail-archive.com/nsd-users@nlnetlabs.nl/msg00082.html</a></div><div><br></div><div>What to share the whole story, I dont know. Very simple "cannot write logs to /var/long/nsd.log" with the error message I have posted in the first instance. Whats the whole story in this case?</div><div><br></div><div>Thanks.</div><div><br></div><div>Mukul<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 19, 2022 at 1:06 AM Ondřej Surý <<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, that’s not the problem. Shifting to another distribution will not help you if you don’t know what you are doing.<br>
<br>
The user under nsd is running has no write permissions to the location listed and it could be more things - non-matching permissions on the log-file, non-matching permissions on the directory, AppArmor profile, SELinux profile, chroot/jail.<br>
<br>
You are not sharing the whole story, just tiny bits, so it’s really hard to help you.<br>
<br>
Ondrej<br>
--<br>
Ondřej Surý <<a href="mailto:ondrej@sury.org" target="_blank">ondrej@sury.org</a>> (He/Him)<br>
<br>
> On 18. 6. 2022, at 21:22, Mukul Shukla via nsd-users <<a href="mailto:nsd-users@lists.nlnetlabs.nl" target="_blank">nsd-users@lists.nlnetlabs.nl</a>> wrote:<br>
> <br>
> I think,just to make Debian able to write logs to a file is a big issue. Better to shift to another distribution,<br>
> Can anybody confirm if this is not an issue on Centos or OpenBSD?<br>
<br>
</blockquote></div>