From: Herton R. Krzesinski herton@redhat.com
redhat: ignore rpminspect runpath report on urandom_read selftest binaries
Upstream Status: RHEL only
Since a recent bpf update on the kernel, rpminspect started to report the following issue in the urandom_read selftest binaries: /usr/libexec/kselftests/bpf/(...)urandom_read has an invalid-looking DT_RPATH on <arch>: .
This is expected since upstream commit: 00a0fa2d7d49 ("selftests/bpf: Add urandom_read shared lib and USDTs")
As the selftest binary uses shared library linked from the current directory.
Thus add the reported binaries to the ignore list in rpminspect configuration so this doesn't get reported every rpminspect CI run.
Signed-off-by: Herton R. Krzesinski herton@redhat.com
diff --git a/redhat/scripts/gating/rpminspect.yaml b/redhat/scripts/gating/rpminspect.yaml index blahblah..blahblah 100644 --- a/redhat/scripts/gating/rpminspect.yaml +++ b/redhat/scripts/gating/rpminspect.yaml @@ -24,3 +24,8 @@ patches: ignore_list: - linux-kernel-test.patch - patch-%%SPECKVERSION%%.%%SPECKPATCHLEVEL%%-redhat.patch + +runpath: + ignore: + - /usr/libexec/kselftests/bpf/urandom_read + - /usr/libexec/kselftests/bpf/no_alu32/urandom_read
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2270
kernel@lists.fedoraproject.org