Bug 1652590

Summary: Configuration files are not properly marked in grafana RPM package
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Daniel Horák <dahorak>
Component: web-admin-tendrl-monitoring-integrationAssignee: gowtham <gshanmug>
Status: CLOSED WONTFIX QA Contact: sds-qe-bugs
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.4CC: rhs-bugs, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-08 16:04:50 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:

Description Daniel Horák 2018-11-22 12:47:03 UTC
Description of problem:
  Grafana package contains few files in /etc/* directory, which might be
  considered as configuration files, but they are not marked such way in the
  RPM package.
  This cause problems during package update process, for example Bug 1650557.

Version-Release number of selected component (if applicable):
  grafana-4.6.4-1.el7rhgs.x86_64

How reproducible:
  100%

Steps to Reproduce:
1. Check list of files in /etc/... owned by grafana package:
  # rpm -ql grafana | grep etc
  /etc/grafana
  /etc/grafana/grafana.ini
  /etc/grafana/ldap.toml
  /etc/sysconfig/grafana-server
2. Check if those files are marked as configuration files in RPM package:
  # rpm -qc grafana 
  # 

Actual results:
  There are 3 files in grafana package in /etc/ directory, but neither of them
  is marked as configuration file.

Expected results:
  Configuration files should be marked as "configuration" files in RPM package.

Additional info:
  See also Bug 1650557 and Bug 1515276.