Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2137342

Summary: error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
Product: Red Hat Enterprise Linux 9 Reporter: John Sefler <jsefler>
Component: redhat-releaseAssignee: Release Engineering Bug Triage <releng-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: lisas
Target Milestone: rcFlags: pm-rhel: mirror+
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: 2022-10-24 14:47:51 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 John Sefler 2022-10-24 14:26:56 UTC
Description of problem:

It looks like there is a missing url in /usr/lib/rpm/macros.d/macros.dist that is causing an error with rpm.


Version-Release number of selected component (if applicable):
redhat-release-9.2-0.7.el9.x86_64


How reproducible:


Steps to Reproduce:

**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
                 This System is reserved by jsefler.

 To return this system early. You can run the command: return2beaker.sh
  Ensure you have your logs off the system before returning to Beaker

 To extend your reservation time. You can run the command:
  extendtesttime.sh
 This is an interactive script. You will be prompted for how many
  hours you would like to extend the reservation.
 Please ensure that you adhere to the reservation policy
  for Beaker systems:
  https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems

 You should verify the watchdog was updated succesfully after
  you extend your reservation.
  https://beaker.engineering.redhat.com/recipes/12822433

 For ssh, kvm, serial and power control operations please look here:
  https://beaker.engineering.redhat.com/view/kvm-01-guest12.lab.eng.rdu2.redhat.com

 For the default root password, see:
  https://beaker.engineering.redhat.com/prefs/

      Beaker Test information:
                         HOSTNAME=kvm-01-guest12.lab.eng.rdu2.redhat.com
                            JOBID=7155920
                         RECIPEID=12822433
                    RESULT_SERVER=
                           DISTRO=RHEL-9.2.0-20221023.0
                     ARCHITECTURE=x86_64

      Job Whiteboard: Reserve Workflow provision of distro RHEL-9.2.0-20221023.0 on any lab system for 86400 seconds

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Mon Oct 24 10:14:57 2022 from 10.22.9.138
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# rpm -q redhat-release
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body  <====== LOOK HERE
redhat-release-9.2-0.7.el9.x86_64
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# rpm -q --whatprovides /usr/lib/rpm/macros.d/macros.dist
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body  <====== LOOK HERE
redhat-release-9.2-0.7.el9.x86_64
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# cat /usr/lib/rpm/macros.d/macros.dist
# dist macros.

%rhel 9
%__bootstrap         ~bootstrap
%dist %{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?distsuffix}%{?with_bootstrap:~bootstrap}
%el9 1
%dist_vendor         Red Hat, Inc.
%dist_name           Red Hat Enterprise Linux
%dist_home_url       https://www.redhat.com/
%dist_bug_report_url https://bugzilla.redhat.com/
%dist_debuginfod_url                                                                          <====== LOOK HERE
[root@kvm-01-guest12 ~]# 




Actual results:


Expected results:


Additional info:
  commenting out or deleting line 11 makes the error go away; not sure what the expected url should be

Comment 1 John Sefler 2022-10-24 14:47:51 UTC

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