falcosecurity / falco

Cloud Native Runtime Security
https://falco.org
Apache License 2.0
7.37k stars 901 forks source link

CI pipeline uses CentOS 7 which is EOL #3270

Closed johananl closed 3 weeks ago

johananl commented 4 months ago

The following CI pipeline uses CentOS 7 which is EOL now:

https://github.com/falcosecurity/falco/blob/c25ded8f393ddd89f46f330f6e53c806d5bf2423/.github/workflows/reusable_build_packages.yaml#L55

In addition to being EOL, CentOS 7 uses RPM 4.11.x which uses an old signing method in the RPM binaries it produces which can cause problems when installing Falco in environments with strict security requirements.

Relevant info in the RPM release notes: https://rpm.org/wiki/Releases/4.14.0

It would be great if the pipeline could be updated to some current RPM-based distro (no strong opinions on the specific distro as long as it contains RPM >= 4.14.x which uses the modern signing method).

Thanks! :pray:

johananl commented 4 months ago

/kind release

FedeDP commented 4 months ago

Hi! Thanks for opening this issue! I totally agree, we need to get rid of centos:7. At the same time, we really care and need the oldest possible glibc version (and moving to something newer could break usage for people on old glibc versions). We need to dig into this to find a non-breaking alternative. cc @falcosecurity/falco-maintainers

FedeDP commented 4 months ago

/milestone 0.39.0 We need to fix this ASAP because it is breaking our CI builds.

FedeDP commented 4 months ago

So, centos7 used glibc 2.17; ubuntu 18.04 uses glibc 2.27, ubuntu 16.04 uses glibc 2.23.

FedeDP commented 3 months ago

For now, we switched to use vault.centos.org mirrors to keep centos7 CI running. We need to figure out either a glibc bump or something else.

FedeDP commented 1 month ago

A Better solution is being developed in #3307 . /milestone 0.40.0

johananl commented 3 weeks ago

Thank you for addressing this!