-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
Low
-
TestOnly
-
3
-
rhel-pt-c-libs
-
2
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
PT C Libraries 2025 S15, PT C Libraries 2025 S16, PT C Libraries 2026 S02
-
None
-
None
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
We should add a basic stap --dyninst test to glibc gating, to make sure this keeps working. This is important because we are making many dynamic linker changes.
We should run stap like this, as a non-root user:
$ stap --dyninst -e 'probe process("/usr/bin/getent").function("main") {println(pn())}' -c /usr/bin/getent passwd root
process("/usr/bin/getent").function("main@/usr/src/debug/glibc-2.34-244.el9.x86_64/nss/getent.c:980")
root:x:0:0:root:/root:/bin/bash
$
The crucial part is the output line in the middle (starting with process).
Note that stap needs glibc-debuginfo, glibc-common-debuginfo, gcc, systemtap-devel. Not all these dependencies are declared. And stap --dyninst may incorrectly fail if Secure Boot is active on the system.
Note: This change needs to be applied to all active branch (c8s, c9s, c10s).