From: Herton R. Krzesinski <her...@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 <her...@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 mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to