From nobody Mon Jul 01 13:00:23 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 4WCR3Y2yv4z5MnMN for ; Mon, 01 Jul 2024 13:00:25 +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 4WCR3X10fXz4ghK for ; Mon, 1 Jul 2024 13:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719838824; a=rsa-sha256; cv=none; b=onYBwtyojqfRSCVBXBh8uw9m75Yj9Bauaj0p1YYA9mogi2OkVNuMlQ9vjMjX8RBahnxzzY CA12HiyFeYzr0ExArEWZ+lQNdzSwrO04eLzLlJBJFzLE6KG0xIFZ+O91ps/bPfUQnowl53 SWsRxYnVpMQXBa/MEOU/HHWNY2R5VAX3LssGiyAGHWKDpkIulWlGpOKrqShNyj4qHgBhZ+ B1u3iVTEnKHgGva+4MgAcLzQpBQr3tNhUMOjExmGcXJap2MhihGrL2f1UEtgXTL+c/OR8O rtG0KuZUdwtvPMyEGOlQXOrYG3tX+r9H/IUyO+XgurGPqBfy3s2U6w1dtce3JA== 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=1719838824; 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=Qv0e5mBJPlvFlrmZdv/hkSIeMBVKiLo2q+hApUEqWVM=; b=ahx3g+1yAYCSQnmwKJVxQdZVGHCECrWBmmL264Y4RoHNlBCYh5DyurbXI6PqULL1QwK5oe EHtk9Q5cfTjE4ohLz7fpzn+MkD3izilMdART/Swjqwrmv4oV2fOMwMENHbVW7jq8QEJG9G R++hvfxy1P8ZoaGP6byLH7cUxiE5RMNy9Ycq4p8mJzc9Ue4GH2pIumi+HujSlwExYBMcyt hXu9pQHV2s28sC/8poaeQQAyns95jQvOLUAqQZjPhWeNO4TPhe3kq2BqdIwJlpZNUbpwad bMW6MsHSH1zahOs9PNxhF5hDzcX+3ISa/7huhyLQ6vmL4p54dzMTC6g7yO6Y6w== 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 4WCR3X0Hqgz15jk for ; Mon, 1 Jul 2024 13:00:23 +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 461D0NDY047665 for ; Mon, 1 Jul 2024 13:00:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 461D0NtP047664 for ports-bugs@FreeBSD.org; Mon, 1 Jul 2024 13:00:23 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, 01 Jul 2024 13:00:23 +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.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 --- Comment #1 from Leo Vandewoestijne --- Created attachment 251816 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251816&action= =3Dedit knot-resolver rc I delved in this report numerous time, but never was able to solve everythi= ng at once, as there is a number of problems/conflicts within just a few lines. - /var/run/kresd is created as kresd, with wrong permissions, which are overwritten in kresd's rc script at the start routine. - /var/run/kresd needs to be 700 or else krescachegc will complain it's not existing or not an LMDB dir. - daemon (for kresd) needs to be running as root - I guess because above re= ason - kresd however is running as kresd (if you tell so in it's config). - daemon (for krescachegc) can be running as kresd (...?) '-c ' is indeed something which became problematic. status_cmd=3D"${name}_status" indeed was missing, while the routine was in = place. However, -AFAIK- in krescachegc's rc script there is no need to have explic= it start/stop/status routine. Although it could be added if there is a good reason for it. As far as I could test this patch would/should solve all the mentioned issu= es. All feedback is appreciated. --=20 You are receiving this mail because: You are the assignee for the bug.=