Bug 1927497

Summary: rhel 8.4 stap accidentally built without debuginfod client support
Product: Red Hat Enterprise Linux 8 Reporter: Frank Ch. Eigler <fche>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
systemtap sub component: system-version QA Contact: Martin Cermak <mcermak>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: lberk, mcermak, mjw
Version: 8.4Keywords: Bugfix, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemtap-4.4-9.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:44:32 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 Frank Ch. Eigler 2021-02-10 20:49:28 UTC
The .spec file is missing a BuildRequire:.

Comment 2 Martin Cermak 2021-02-12 18:20:06 UTC
ftr - upstream commit b8dabbac03708f93587ee7cbc1ddc05dcdde7ec5

scr0   8.4 Server x86_64 # rpm -q systemtap
systemtap-4.4-9.el8.x86_64
scr0   8.4 Server x86_64 # ldd /usr/bin/stap | fgrep debuginfod
        libdebuginfod.so.1 => /lib64/libdebuginfod.so.1 (0x00007f39f4691000)
scr0   8.4 Server x86_64 # 
scr0   8.4 Server x86_64 # 
scr0   8.4 Server x86_64 # ltrace -e '*@libdebuginfod*' stap -p2 -e 'probe process("7ca24d4dc3de9d62d9ad6bb25e5b70a3e57a342f").function("*system") { log("hi") }' |& head
libdebuginfod.so.1->calloc(1, 48)                = 0x55ca38d25560
libdebuginfod.so.1->getenv("DEBUGINFOD_PROGRESS") = "1"
libdebuginfod.so.1->free(nil)                    = <void>
libdebuginfod.so.1->uname(0x7ffdec470380)        = 0
libdebuginfod.so.1->__asprintf_chk(0x7ffdec470318, 1, 0x7f560012ca17, 0x7ffdec470380) = 12
libdebuginfod.so.1->fopen("/etc/os-release", "r") = 0x55ca340e22f0
libdebuginfod.so.1->fgets("NAME="Red Hat Enterprise Linux"\n"..., 128, 0x55ca340e22f0) = 0x7ffdec4715a0
libdebuginfod.so.1->strchr("NAME="Red Hat Enterprise Linux"", '=') = "="Red Hat Enterprise Linux""
libdebuginfod.so.1->strlen("="Red Hat Enterprise Linux"") = 27
libdebuginfod.so.1->fgets("VERSION="8.4 (Ootpa)"\n", 128, 0x55ca340e22f0) = 0x7ffdec4715a0
scr0   8.4 Server x86_64 #

Comment 5 Martin Cermak 2021-02-17 14:25:00 UTC
Verified with systemtap-4.4-9.el8 using ltrace, as mentioned in Comment#2.

Comment 7 errata-xmlrpc 2021-05-18 15:44:32 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 (systemtap 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:1829