[Bug 267016] dns/knot-resolver: Fix file permissions to enable cache garbage collector

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Oct 2022 11:48:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267016

--- Comment #2 from Leo Vandewoestijne <freebsd@dns.company> ---
(In reply to Chris Hutchinson from comment #1)
How/where do you currently define the custom path?

AFAIK, I think if we change
  chmod 660 /var/run/kresd/*.mdb
to simply:
  chmod 660 %%RUNDIR%%/*.mdb
then both of you are happy†, since rundir is already a variable in the kresd rc
script - and it seems(!) the krescachegc rc script knows this.



† on condition you did what the manual at knot-resolver.readthedocs.io
recommend: have the entire rundir an md.
OR; do you maybe happen to set yours in kresd.conf?

-- 
You are receiving this mail because:
You are the assignee for the bug.