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 1949492 - rpm changelog for subscription-manager returns changelog messages twice
Summary: rpm changelog for subscription-manager returns changelog messages twice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.5
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-14 12:24 UTC by Archana Pandey
Modified: 2021-11-10 07:55 UTC (History)
3 users (show)

Fixed In Version: subscription-manager-1.28.17-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:37:58 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2615 0 None closed 1949492: remove bogus %changelog entries 2021-05-04 09:46:23 UTC
Red Hat Product Errata RHBA-2021:4390 0 None None None 2021-11-09 19:38:19 UTC

Description Archana Pandey 2021-04-14 12:24:59 UTC
Description of problem: Checking changelog in subscription-manager rpm returns changelog messages twice for latest fixes


Version-Release number of selected component (if applicable):
[root@hpe-dl380pgen8-02-vm-5 ~]# rpm -qa subscription-manager
subscription-manager-1.28.15-1.el8.x86_64


How reproducible:


Steps to Reproduce:
[root@hpe-dl380pgen8-02-vm-5 ~]# rpm -qa  --changelog subscription-manager | grep 1636950 
- 1636950: make value possibly plural for addons in syspurpose man page
- 1636950: make value possibly plural for addons in syspurpose man page
[root@hpe-dl380pgen8-02-vm-5 ~]# 

[root@hpe-dl380pgen8-02-vm-5 ~]# rpm -qa  --changelog subscription-manager | grep 1927245
- 1927245: Mark several dir as part of RPM (jhnidek)
- 1927245: Mark several dir as part of RPM (jhnidek)
[root@hpe-dl380pgen8-02-vm-5 ~]#

Actual results: Multiple entry for same changelog returned


Expected results: changelog should be reported once


Additional info:

Comment 1 Pino Toscano 2021-04-16 11:10:41 UTC
Well, even worse in case of other bugs, like 1944093 (mentioned 26 times (!)). It seems to me that whatever is filling the RPM %changelog based on the git history (tito?) is trying to make sure every commit has an associated bug, which is not the case (translation updates are the most prominent example of this).

Comment 2 Rehana 2021-05-20 15:09:04 UTC
Reproducing the issue on: 
subscription-manager: 1.28.16-1.el8

# rpm -qa  --changelog subscription-manager | grep 1636950 
- 1636950: modify description in the man page for syspurpose for the generic
- 1636950: make value possibly plural for addons in syspurpose man page
- 1636950: make value possibly plural for addons in syspurpose man page

# rpm -qa  --changelog subscription-manager | grep 1927245
- 1927245: Mark several dir as part of RPM (jhnidek)
- 1927245: Mark several dir as part of RPM (jhnidek)

Pre-verifying on : 
================

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.1.0-1
subscription management rules: 5.41
subscription-manager: 1.28.16-1.git.19.dfbe16a.el8

# rpm -qa  --changelog subscription-manager | grep 1927245
- 1927245: Mark several dir as part of RPM (jhnidek)

# rpm -qa  --changelog subscription-manager | grep 1636950
- 1636950: modify description in the man page for syspurpose for the generic

Based on the above observation , setting Verified:tested

Comment 5 Rehana 2021-06-14 13:11:27 UTC
Verifying on :
=============

subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.18-1
subscription management rules: 5.41
subscription-manager: 1.28.17-1.el8

# rpm -qa  --changelog subscription-manager | grep 1927245
- 1927245: Mark several dir as part of RPM (jhnidek)

# rpm -qa  --changelog subscription-manager | grep 1636950
- 1636950: modify description in the man page for syspurpose for the generic

Moving this bug to Verified !!

Comment 7 errata-xmlrpc 2021-11-09 19:37:58 UTC
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 (subscription-manager 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/RHBA-2021:4390


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