stratis-storage / ci

To manage CI for various project repos.
0 stars 6 forks source link

Exclude udev scripts from elf check in rpminspect #417

Closed mulkieran closed 1 year ago

mulkieran commented 1 year ago

They are statically linked as much as possible and this causes them to fail the elf check GNU_RELRO test, due to certain properties of the RHEL toolchain which may be addressed in future.

We thought that this error was edged triggered, and so we wouldn't need to exclude the two udev binaries from the elf check. But it seems that it is now state-triggered sometimes, so we'll start excluding the elf binaries from the elf check via our custom rpminspect.yaml file.

This compiler link is supposed to be related: https://github.com/rust-lang/rust/pull/86374 .

mulkieran commented 1 year ago

It turns out we were correct about this being edge-triggered, or at least it appears so.

mulkieran commented 1 year ago

So we don't need to do the rpminspect.yaml edit.