From nobody Fri Sep 09 14:28:23 2022 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 4MPJJ751Cgz4bX7X for ; Fri, 9 Sep 2022 14:28:23 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPJJ73GlSz3mn8 for ; Fri, 9 Sep 2022 14:28:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MPJJ72Kknz1Dc3 for ; Fri, 9 Sep 2022 14:28: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 289ESN8H084392 for ; Fri, 9 Sep 2022 14:28:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 289ESNZG084391 for ports-bugs@FreeBSD.org; Fri, 9 Sep 2022 14:28: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 266320] dns/knot-resolver: service status not working Date: Fri, 09 Sep 2022 14:28:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: yonas.yanfa@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662733703; 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; bh=cH4D0ycRYWXCHt+V6SMiB6+jEqNeIEES4rLqOxrK4ms=; b=fspLPgfXmHi1CybXoqCtJ4xzDaOoyX0W7/BOL3GhslzDTRtaf01tb8d8AdMYB69AV8JgYB DH9lh9B+7Fdr+nYus406EBlbcnkmiX04DjuBerVqF2oRBxtqz79Wyo0QesU/9njKPdjf51 vrgq9gokqAbK5dKJd4/nxFxOxnYc5By801G+9SCESyQfVo59YjaJ4pr83PG/xBwS02pbIc 7DbyySCd241i7Z8njdz7IoY36h40yI0l2dgfm+R3rTa3K2O/g6imYEYqXfAY+iio9YsE9C ZcG6k/713lCX+J4VdoiXbBAHelM06s7g6NdyVzbtXs2c7tC3zhmDqbC25xGQ1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662733703; a=rsa-sha256; cv=none; b=cczZ2Q5BQSWr1olV+OXFp9tckUSrxsvOCj8DoG7JnbMolxtLhXmYEILFwDIMlQb3e6OgOw mF88g/PTktA73nHRS6k7CNmZ3LRbG/UmuyGUFisnCeshxnTo+KtVyE5jnsM3O81YxLPRlj 30LdnxlrqjAiYuI8vsEO30lMV0K+JZa6dYh2QDqxXYpTJwD2hHmJxshEBgr/kiP9h2xfcU 4jicNmWCfU7YEqqcljeds0XT06VHzVOMwlWt5EOgAyO/7sK4vYLpyJq+8fnWTXLc62DqED tC0W04IjZ6k+elyCeC93koYE1Qg2ZIAIQvRxdiScf8P1zHkydIMyu2qpURPjxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266320 Bug ID: 266320 Summary: dns/knot-resolver: service status not working Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: yonas.yanfa@gmail.com I'm not sure if the child pid or the daemon pid should be checked, but maybe something like this could be added to /usr/local/etc/rc.d/kresd: kresd_status() { if [ -e "${pidfile}" ]; then echo "${name} is running on pid $(cat $pidfile)." return 1 else echo "${name} is not running." return 0 fi } --=20 You are receiving this mail because: You are the assignee for the bug.=