[Bug 277540] dns/knot-resolver: fixing rc scripts krescachegc and kresd
Date: Tue, 23 Jul 2024 11:52:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277540 --- Comment #6 from Leo Vandewoestijne <freebsd@dns.company> --- (In reply to Michael Grimm from comment #5) > I don't understand why, but user is still root for both mdb files! I also would like to understand; I'm now running around 20 jails (production), all behaving uneventful as desired In kresd.conf I do have this line, which I start to wonder is the culprit when missing: user('kresd','kresd') And in rc.conf only: krescachegc_enable="YES" kresd_enable="YES" A] is that what you also had? or if not: does that work? B] if that doesn't work immediately; with the kresd_start routine creating the rundir with -m 700, what happens is you delete that entire directory before starting? > If I do run krescachegc as root [1], krescachegc stops complaining. > C] since you currently run as root... would putting below line in rc.conf "solve" this issue for you? kresd_user="root" kresd_group="root" -- You are receiving this mail because: You are the assignee for the bug.