From nobody Tue Jul 23 11:52:27 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WSwVz3XZ8z5RpBC for ; Tue, 23 Jul 2024 11:52:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSwVz1YLkz46y2 for ; Tue, 23 Jul 2024 11:52:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721735547; a=rsa-sha256; cv=none; b=ksfpDUCbBG5mUfWzeO15yRYRles5T/w78Ab5wq/1oOsis8EPXv+Hzatn6dpZVRKSWfxldF ZZGSHWCG3/OcvaYyT/qHF68NZ8AMIYGV/S2eXQQCFEwmiX+c/gOqviF/lU0FJKlUYWA8CD SUgfk30vo+rOb0Pqie9VwIYdIbEXBoLYoxA/u0xx8MrxsRFmCX/UGIIUpnm0VCLnDKcZwi ho5NSGm8QNmZZ6sUsjkb4CN32jtC+csoEREqku5q7mqnh3jOabd551zJwJ33UhU5TEv7Ei h8EqviaYdNNPbTFS2xirmZ4doeu7SG5tnx+i8r6rk2Gfbt5sBt3iu5Hs0sSoLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721735547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k21j8PIn9/HPagq6rhwDDjuzfE4c3gM4cGX34HDeMRU=; b=EASJMealTHbDb00gqUH/dw1ObI1G+twDAQLSwhm6yuHfVji4tfwodrPNCL3J0EL//+MmVZ YIZDBJhryCxfsqRdTF9WGk0KxSwYFmvTYzbNlSNGfYIaotuauWsP+Ux+zC5I4l4DtA0wkP eFvM50PwMZu2B9DvPNRMNmmzw+E+5tjmdhkMBCExTI8RdTk9bLUrxn9/OFoJCSnHaHKK92 /kbq2FPj852fzsoVyK6PVWqCcssvifM/oykKidYjk6m+ffEfHDMZJsnp8v6ACzeFYz9hg2 SRWPEmbI5Ggt4LD5N6fy8606uYrDyd3xF1KQEKjyNoHqnOGKsQqfcGANX/S/kg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WSwVz179HzRgs for ; Tue, 23 Jul 2024 11:52:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46NBqRk5036484 for ; Tue, 23 Jul 2024 11:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46NBqRop036455 for ports-bugs@FreeBSD.org; Tue, 23 Jul 2024 11:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277540] dns/knot-resolver: fixing rc scripts krescachegc and kresd Date: Tue, 23 Jul 2024 11:52:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@dns.company X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277540 --- Comment #6 from Leo Vandewoestijne --- (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.=