Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2022 13:12:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267016] dns/knot-resolver: Fix file permissions to enable cache garbage collector
Message-ID:  <bug-267016-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267016

            Bug ID: 267016
           Summary: dns/knot-resolver: Fix file permissions to enable
                    cache garbage collector
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yonas.yanfa@gmail.com
                CC: freebsd@dns.company
             Flags: maintainer-feedback?(freebsd@dns.company)
                CC: freebsd@dns.company

I've added the following to /usr/local/etc/rc.d/krescachegc:

start_precmd=3D"${name}_prestart"

krescachegc_prestart() {
    chmod 660 /var/run/kresd/*.mdb
}

It might be a temporary fix until /var/run/kresd/data.mdb and
/var/run/kresd/lock.mdb are created with proper file permissions.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267016-7788>