[Bug 277540] dns/knot-resolver: fixing rc scripts krescachegc and kresd
Date: Tue, 16 Jul 2024 14:31:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277540 --- Comment #5 from Michael Grimm <trashcan@ellael.org> --- After applying your patch #252079 I installed knot-resolver in a vanilla test jail, applied 'service kresd start', and ended up with: MW-test|root> la /var/run/kresd/ drwxr-x--- 2 root kresd uarch 3 Jul 16 16:03 control -rw-r----- 1 root kresd uarch 10485760 Jul 16 16:08 data.mdb -rw-r----- 1 root kresd uarch 8192 Jul 16 16:03 lock.mdb I don't understand why, but user is still root for both mdb files! Tries some restart operations, but ownership remains root, not to my surprise. And starting krescachegc results in the already reported error messages. Understandable, as krescachegc runs as user kresd and cannot access both files. BUT: If I do run krescachegc as root [1], krescachegc stops complaining. I don't know, if that will be ok, though. [1] command_args="-c -f -r -S -T ${name} -- ${procname} -c ${kresd_rundir} -d ${krescachegc_millis}" Last, but not least, knot-resolver-5.7.3 is out: TIMESTAMP = 1721139599 SHA256 (knot-resolver-5.7.3.tar.xz) = efc6e45ffc5efd98921ea5cd3fece166a1a5ce9eaa12d41b46268964353dbedb SIZE (knot-resolver-5.7.3.tar.xz) = 1930732 Compiles and runs as expected. Regards, Michael -- You are receiving this mail because: You are the assignee for the bug.