Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2024 11:52:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277540] dns/knot-resolver: fixing rc scripts krescachegc and kresd
Message-ID:  <bug-277540-7788-qfVdh2W9dC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277540-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277540-7788@https.bugs.freebsd.org/bugzilla/>

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

--- 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 (productio=
n),
all behaving uneventful as desired
In kresd.conf I do have this line, which I start to wonder is the culprit w=
hen
missing:
user('kresd','kresd')
And in rc.conf only:
krescachegc_enable=3D"YES"
kresd_enable=3D"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=3D"root"
kresd_group=3D"root"

--=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-277540-7788-qfVdh2W9dC>