Bug 1843170
Summary: | grafana may not start due to permission issues | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Jan Kurik <jkurik> |
Component: | grafana | Assignee: | Andreas Gerstmayr <agerstmayr> |
Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 8.3 | CC: | agerstmayr, jkurik, mgoodwin, nathans, tis |
Target Milestone: | rc | Keywords: | Bugfix, Triaged |
Target Release: | 8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | grafana-7.3.4-1.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 15:51:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1850471 | ||
Bug Blocks: |
Description
Jan Kurik
2020-06-02 18:07:03 UTC
One more note related to the ownership of "/var/log/grafana/grafana.log" file: Following the reproduction scenario above the file is owned by root:root. However if "grafana-server" is started before "grafana-cli" is used then the ownership is grafana:grafana. opened upstream bug https://github.com/grafana/grafana/issues/25367 with a list of possible solutions Technically this bug is related to #1805472 As this bug is also present in upstream packaging, I've opened https://github.com/grafana/grafana/issues/25367 and will wait how they'll resolve it. It only occurs in a very specific situation: - grafana-cli is run as root *before* the first start of grafana-server I'd say most people are not aware of grafana-cli anyway, and if they want to change the admin's password, they can also do it in the web interface. If upstream comes up with a solution in time for RHEL 8.3 I'll create a -2 build of 6.7.4. Looks like there won't be a response from upstream in time for RHEL 8.3, moving to 8.4 now. *** Bug 1805472 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: grafana security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1859 |