From nobody Mon Jul 15 14:11:24 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 4WN3z05cbdz5R20c for ; Mon, 15 Jul 2024 14:11:24 +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 4WN3z02LZqz4rbS for ; Mon, 15 Jul 2024 14:11:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721052684; a=rsa-sha256; cv=none; b=fcexX1GhWxeTAJNPPbwMyHa0Y+txlk70qcRm3QgTOuy9bapM8OuVsrUunZq396FRW37K12 8qEyZ7T+zXXl1jwG8sOhSh6gioduh4n9XTApb+V0nkz2P+mtaP0M49tSOvPT3Nfko2+fCc 4fDWsnL6cXJIKBfs7qnViDGD782BupUA6AyFhmBd2glqJeM5P0eF2hdRniIky59cAQLQhT HHp4d86sonnT6JzR9ca+iUmKpRqEB0v3tViz3TsPVxZ4nvEv+t0mOeA/eNgcL1A5OQlYBi o6r3s+nyFcRuO/vGr6+ooDtRJPrmvCWzz1FplIPC41m91wR0u6876b20XMBs8A== 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=1721052684; 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=lhFvgwzy8c5xgo0AugQyyqZDie+AnNDjZrqMlXeBinU=; b=nC/xCtGDCEaxrESquX2CoIr4eD9NMSs90iLF3/ckzHPYuGTsiEfvTjgLu2pgOBAG/jkTph d8WNLpLnkNMJ3V4KTffkzGMv3SVmh9gE0h6NGK+vFZsJy46NAiVayAIEIR3vo6p4YSPj1i fd0rCtUQh0ZOKRyoavmjrk6RFJoYY25q48N9QimwcUMxgLoi98gQrN/K0BAgJApfzNX9yP BxiWzS8vzKjpgIBknTEJlGOFteAtxKR+dESiR8FXhf90RGTE0ndE9YHzBd2ADHfYNt54Wt ZLRyoYar6PQWowCqiCNbVDGgZt/OYYIMbPdysxSKs6Jw/Pthajn3MfZIGru1+Q== 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 4WN3z01yYFzw3X for ; Mon, 15 Jul 2024 14:11:24 +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 46FEBOoG056579 for ; Mon, 15 Jul 2024 14:11:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46FEBO7T056578 for ports-bugs@FreeBSD.org; Mon, 15 Jul 2024 14:11:24 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: Mon, 15 Jul 2024 14:11:24 +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: attachments.isobsolete flagtypes.name attachments.created 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 Leo Vandewoestijne changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #251816|0 |1 is obsolete| | Attachment #252079| |maintainer-approval+ Flags| | --- Comment #4 from Leo Vandewoestijne --- Created attachment 252079 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252079&action= =3Dedit knot-resolver rc and etc. > only kres-cache-gc fails > Further I see that users kresd (nor daemon) still are unable to create LMDB structure. Contrary when cleaning up cache I encounterd files immutable to the 'kresd' user. For as far as I see the current commands (after this latest patch) are successful. > I do opt for explicit start/stop/status routines > Undeniable makes sense, yes. Anyway, this latest modification is also addressing restarts correctly. Indeed using some custom routines. And avoiding pid files. > Only after chown kresd /var/run/kresd/*.mdb kres-cache-gc starts: > In my testing I -now- see those files being removed at stop, and at start recreated correctly as kresd:kresd > NOTE: user is root! > 'daemon' processes should be root, while 'kresd' and 'kres-cache-gc' should= be user 'kresd' (or custom choise) now. So in summary; this patch is be perfect. --=20 You are receiving this mail because: You are the assignee for the bug.=