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 2088774 - ship the debuginfod-client /etc/profile.d/* files
Summary: ship the debuginfod-client /etc/profile.d/* files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: elfutils
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.2
Assignee: Mark Wielaard
QA Contact: Martin Cermak
Petr Hybl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-20 15:29 UTC by Frank Ch. Eigler
Modified: 2022-11-15 12:54 UTC (History)
4 users (show)

Fixed In Version: elfutils-0.187-5.el9
Doc Type: Enhancement
Doc Text:
.A new fileset `/etc/profile.d/debuginfod.*` Added new fileset for activating organizational debuginfod services. To get a system-wide `debuginfod` client activation you must add the URL to `/etc/debuginfod/FOO.urls` file.
Clone Of:
Environment:
Last Closed: 2022-11-15 11:12:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-122662 0 None None None 2022-05-20 15:34:05 UTC
Red Hat Product Errata RHBA-2022:8274 0 None None None 2022-11-15 11:12:25 UTC

Description Frank Ch. Eigler 2022-05-20 15:29:12 UTC
Even if rhel does not offer a public debuginfod service, there may be rhel users who do operate one for themselves.  These users would like to easily automate systemwide enablement of the facility, but plopping a file into /etc/debuginfod/FOO.urls .  But since we don't shop the /etc/profile.d/debuginfod.* files at all, that doesn't work as easily.

So please let's ship the profile.d scripts even on RHEL9 in the elfutils-debuginfod-client subrpm.

Comment 1 Mark Wielaard 2022-05-23 11:23:29 UTC
Yeah, this should be pretty harmless, though do note that 0.187 shipped with a broken csh profile wrapper. Fedora does have a backport for that issue:
https://src.fedoraproject.org/rpms/elfutils/blob/rawhide/f/elfutils-0.187-csh-profile.patch
So it isn't zero risk.

The current workaround of course is for the user to export DEBUGINFOD_URLS from their own .bash_profile

Comment 2 Mark Wielaard 2022-05-23 11:31:15 UTC
(In reply to Mark Wielaard from comment #1)
> Yeah, this should be pretty harmless, though do note that 0.187 shipped with
> a broken csh profile wrapper. Fedora does have a backport for that issue:
> https://src.fedoraproject.org/rpms/elfutils/blob/rawhide/f/elfutils-0.187-
> csh-profile.patch
> So it isn't zero risk.

Which I already backported for bug #2057673 so c9s should already have that.

- Upgrade to elfutils 0.187
  - debuginfod: Support -C option for connection thread pooling.
  - debuginfod-client: Negative cache file are now zero sized instead
    of no-permission files.
  - addr2line: The -A, --absolute option, which shows file names
    includingthe full compilation directory is now the
    default.  To get theold behavior use the new option --relative.
  - readelf, elflint: Recognize FDO Packaging Metadata ELF notes
  - libdw, debuginfo-client: Load libcurl lazily only when files need
    to be fetched remotely. libcurl is now never loaded when
    DEBUGINFOD_URLS is unset. And whenDEBUGINFOD_URLS is set,
    libcurl is only loaded when the debuginfod_begin function is
    called.
- Add elfutils-0.187-csh-profile.patch
- Add elfutils-0.187-debuginfod-client-fd-leak.patch
- Add elfutils-0.187-mhd_no_dual_stack.patch
- Add elfutils-0.187-mhd_epoll.patch

Comment 8 errata-xmlrpc 2022-11-15 11:12:23 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 (elfutils 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-2022:8274


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