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 2135774 - Missing exported symbols in libtraceevent, can't execute trace-cmd
Summary: Missing exported symbols in libtraceevent, can't execute trace-cmd
Keywords:
Status: CLOSED DUPLICATE of bug 2134397
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libtraceevent
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michael Petlan
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-18 11:47 UTC by Íñigo Huguet
Modified: 2022-10-19 01:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-19 01:19:12 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-136877 0 None None None 2022-10-18 11:55:23 UTC

Description Íñigo Huguet 2022-10-18 11:47:21 UTC
Description of problem:
It's not possible to execute trace-cmd
Installed normally with `dnf install trace-cmd`

Version-Release number of selected component (if applicable):
RHEL-9.2.0-20221006.d.0

How reproducible:
Always

Steps to Reproduce:
Execute trace-cmd

Actual results:
trace-cmd: symbol lookup error: trace-cmd: undefined symbol: tep_filter_free

Expected results:
trace-cmd works

Additional info:
It seems that tep_filter_free is part of libtraceevent. It doesn't have these symbols exported:
readelf -Ws --dyn-syms /usr/lib64/libtraceevent.so.1 | grep tep_filter

In Fedora 34 I can execute trace-cmd, and libtraceevent has these symbols exported:
readelf -Ws --dyn-syms /usr/lib64/libtraceevent.so.1 | grep tep_filter
    69: 0000000000018926    54 FUNC    GLOBAL DEFAULT   11 tep_filter_free
    70: 0000000000018b0f   126 FUNC    GLOBAL DEFAULT   11 tep_filter_copy
    90: 00000000000194de   188 FUNC    GLOBAL DEFAULT   11 tep_filter_match
    99: 00000000000187c3   238 FUNC    GLOBAL DEFAULT   11 tep_filter_remove_event
   107: 0000000000016477    91 FUNC    GLOBAL DEFAULT   11 tep_filter_alloc
   109: 0000000000019f0a   377 FUNC    GLOBAL DEFAULT   11 tep_filter_compare
   117: 0000000000018723   160 FUNC    GLOBAL DEFAULT   11 tep_filter_strerror
   150: 0000000000018405   767 FUNC    GLOBAL DEFAULT   11 tep_filter_add_filter_str
   164: 0000000000019ead    93 FUNC    GLOBAL DEFAULT   11 tep_filter_make_string
   188: 00000000000188b1   117 FUNC    GLOBAL DEFAULT   11 tep_filter_reset

Comment 1 Ziqian SUN (Zamir) 2022-10-19 01:19:12 UTC
See bug 2134397.

Before this get fixed, if you want to use trace-cmd in RHEL-9, you can workaround this by temporary downgrade to libtraceevent-1.1.1-8.el9 (the libtraceevent version in 9.1) and wait for a permanent fix.

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


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