FS#67278 - [grafana] Move configuration in subdirectory

Attached to Project: Community Packages
Opened by Éric (gileri) - Tuesday, 14 July 2020, 13:48 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:07 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Since at least 2015 upstream deb|rpm packages use /etc/grafana as a configuration directory instead of placing grafana.ini directly in /etc/ [1]
Since at least 2017 using a folder is relevant as it hosts provisioning in addition to the grafana config [2]

I propose the attached patch to:

1. Place grafana.ini in /etc/grafana/
2. Install in package the provisioning skeletons
3. Move /etc/grafana.ini to /etc/grafana/grafana.ini

That way we are closer to upstream and other distributions.

[1] https://github.com/grafana/grafana/commit/4c6d7630cd398c95b85e6c2f8c9d30d881c10afb#diff-ad598638c92a28d5d7ffdaba305d92b2
[2] https://github.com/grafana/grafana/commit/5d49846e1d81008a795cb2f5b2fd1bf0ab81ec81#diff-dbd9cb7d903817ba9cc81e845e44fd9d
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:07 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/grafana/issues/1
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.