From nobody Fri Mar 10 22:03:30 2023 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 4PYKnH1k2kz3y0pJ for ; Fri, 10 Mar 2023 22:03:31 +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 4PYKnH0H8hz4VlF for ; Fri, 10 Mar 2023 22:03:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678485811; 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=dHzv0oIwfXeJ6tIrKFa+UuGJvduhkGVwuA6xPu4FtkA=; b=IpC/RwcqEx1sUdJkuLDyyoCiu9KPwremO/tJk6z/oQRJ/EYI5mmGHcPs6DOvpACtotxWIF AfhgZn7BQvNcqZnp90Fo6x1coVKkVkyh2lhSREu+ajRjhRQ4175pkGBALkAIvRYXXphg6c utrJIggBOqE9dGQQpjxUNKTBhzs2GVLGmtxkLKce1RjPDiWtdjinclK9c3II6l7ptrAum3 GR87tad2Xn87Zu2rYhps/5btjhnCqWqwitWqIp0f1BWhZTr1zbkfkF0OBxii+U/8Df9SRJ o3QXWap7W3IzWB6hh7re9r44MUe5k5i8VAkr0APaf8NC031ntTEtIsc2fjzbhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678485811; a=rsa-sha256; cv=none; b=kAN/lizL58seHwRp8ZbwWeSK4SfbqOgenVG06OT78GGoUPOn28rh0V3HOYdtLF5lQtTz2f xVpSMf9fk2VIqTR7Sc57VtDB9YYlGEy0npxxJRH8UEvQHqI1W5oN4hz/vj7g4QAqqQretP EdUtCMJ3QF5UgTfZqpgi3smQ+YcPOysLZuMw9mEPwand16mlLc3NKhu/VzVWWajcXzIkWs dUpEPEKz+oyokUYqBaqov5ynAzv2mDDMxYyfQFIo0C5lhfa0VHuDha87o87jrIbqzj/AVj TixZ03/7Vwx9e0UvNsK+nhMHYEuMrE0zYSbxzORL0e1FCHnEMs5xbKE4fMRbxQ== 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 4PYKnG6SHjz14RJ for ; Fri, 10 Mar 2023 22:03:30 +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 32AM3UXC052539 for ; Fri, 10 Mar 2023 22:03:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32AM3Ulw052538 for ports-bugs@FreeBSD.org; Fri, 10 Mar 2023 22:03:30 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 270098] www/grafana9: Grafana wrongly reported as not running due to procname Date: Fri, 10 Mar 2023 22:03:30 +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 Many People X-Bugzilla-Who: dominik@banoviez.com 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270098 Bug ID: 270098 Summary: www/grafana9: Grafana wrongly reported as not running due to procname Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dominik@banoviez.com CC: drtr0jan@yandex.ru Flags: maintainer-feedback?(drtr0jan@yandex.ru) CC: drtr0jan@yandex.ru Created attachment 240733 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240733&action= =3Dedit Patches the rc.d script with the correct procname (Patch attached.) After starting Grafana, running service grafana status or service grafana s= top will say grafana is not running.=20 This happens because rc.d checks that=20 1) the pidfile exists 2) the process id in the pidfile is running 3) the proccess name matches either the command, or procname After Grafana switched to a unified binary, grafana-server is a wrapper for "grafana server". The procname should therefore be set to %%PREFIX%%/bin/grafana instead of %%PREFIX%%/bin/grafana-server so rc.d pro= cess name check succeeds. --=20 You are receiving this mail because: You are the assignee for the bug.=