Grafana upstream has changed how they deploy the server. Up until 9.3.8 grafana-server was a standalone binary, but from 9.3.8 it became a stub for a main grafana binary. The ebuild only installs grafana-server, thus the stub doesn't find the main binary on 9.3.8 and later as not installed. Reproducible: Always Steps to Reproduce: 1. emerge =www-apps/grafana-bin-9.3.8 2. /etc/init.d/grafana restart Actual Results: * Stopping grafana ... [ ok ] * Starting grafana ... * start-stop-daemon: /usr/bin/grafana-server died * Failed to start grafana [ !! ] * ERROR: grafana failed to start Expected Results: * Stopping grafana ... [ ok ] * Starting grafana ... [ ok ] Upstream seem to plan to later remove the stub, so best to switch to not depending on the stub once we fix this. Proper launch is to launch main grafana binary with server as argument.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c62f15f877fec0ac7c11b5c3c8d3231792ef7f8 commit 7c62f15f877fec0ac7c11b5c3c8d3231792ef7f8 Author: Patrick Lauer <patrick@gentoo.org> AuthorDate: 2023-03-20 19:15:58 +0000 Commit: Patrick Lauer <patrick@gentoo.org> CommitDate: 2023-03-20 19:17:28 +0000 www-apps/grafana-bin: Fix installed files Closes: https://bugs.gentoo.org/902459 Signed-off-by: Patrick Lauer <patrick@gentoo.org> www-apps/grafana-bin/files/grafana.initd2 | 36 ++++++++++++++++++++++ ...in-9.3.8.ebuild => grafana-bin-9.3.8-r1.ebuild} | 3 +- ...in-9.4.3.ebuild => grafana-bin-9.4.3-r1.ebuild} | 3 +- 3 files changed, 40 insertions(+), 2 deletions(-)