RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1963938 - Mark pcp-pmda-* packages configuration files or every file shpiped under /etc with %config flag.
Summary: Mark pcp-pmda-* packages configuration files or every file shpiped under /etc...
Keywords:
Status: CLOSED DUPLICATE of bug 1922040
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: beta
: 8.5
Assignee: Nathan Scott
QA Contact: Jan Kurik
Apurva Bhide
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 12:35 UTC by mkenjale
Modified: 2021-09-17 12:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 00:16:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mkenjale 2021-05-24 12:35:28 UTC
Description of problem:
------------------------
PCP PMDA pcp-pmda-bcc /etc files not marked as config files

Version-Release number of selected component (if applicable):
------------------------
pcp-pmda-bcc-5.2.5-4.el8.x86_64

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
I modified the file /etc/pcp/bcc/bcc.conf to enable the needed bcc modules.
Now the RPM Verify fails because the file is missing the %config in the RPM:

--------
$ rpm -V pcp-pmda-bcc
S.5....T.    /etc/pcp/bcc/bcc.conf
$ rpm -qc pcp-pmda-bcc
$
--------

Actual results:
---------------
$ rpm -V pcp-pmda-bcc
S.5....T.    /etc/pcp/bcc/bcc.conf
$ rpm -qc pcp-pmda-bcc
$

Expected results:
------------------
rpm verification shall mark the configuration files with %config flag.

Additional info:

Comment 1 Nathan Scott 2021-05-25 00:16:38 UTC
Thanks for the report - this has been fixed in more recent versions of PCP, e.g.

$ rpm -qc pcp-pmda-bcc
/etc/pcp/bcc/bcc-tracepoint.conf
/etc/pcp/bcc/bcc-uprobe.conf
/etc/pcp/bcc/bcc-usdt.conf
/etc/pcp/bcc/bcc.conf

$ rpm -qv pcp-pmda-bcc
pcp-pmda-bcc-5.3.1-1.x86_64

*** This bug has been marked as a duplicate of bug 1922040 ***


Note You need to log in before you can comment on or make changes to this bug.