Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#66952 - [grafana] Modifies to default.ini are not synced to grafana.ini when packaging

Attached to Project: Community Packages
Opened by unknowndev (unknowndev) - Tuesday, 09 June 2020, 07:21 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 03 September 2023, 10:26 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


The packaged default grafana configuration installed as /usr/share/grafana/conf/default.ini file contains several modifications from the upstream defaults, e.g. data in line 15, log= in line 21, plugins= in line 24, provisioning= in line 27. These modifications are not reflected in the commented configuration file /etc/grafana.ini, therefore users changing /etc/grafana.ini may not be aware of these changes, or be misleaded about the default values for these configurations. Please ship a modified configuration file as /etc/grafana.ini with the same configuration value commented.

Additional info:
* package version 7.0.2
* config and/or log files etc.

Steps to reproduce:
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 September 2023, 10:26 GMT
Reason for closing:  Won't fix
Comment by Jelle van der Waa (jelly) - Wednesday, 03 May 2023, 07:19 GMT
These files are totally different, /etc/grafana.ini is a configuration sample while the /usr/share/grafana/conf/defaults.ini file comes from conf/defaults.ini the defaults.ini does not look like a valid configuration file to be installed at all.

Aside from the issue that packaging can't touch /etc/grafana.ini, are you sure you have merged your pacnew files?
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.