Skip to content

centos 6 asset is not fully compatible with centos 6 #25

@cwjohnston

Description

@cwjohnston

Expected behavior

The Centos 6 asset is able to run ruby code using native extensions compiled against Centos 6 glibc.

Current behavior

The centos 6 asset errors when running ruby code using native extensions.

Reproduction steps

  1. Stand up a Centos 6.10 host running the Sensu agent
  2. Add assets for version 0.0.10 of sensu-ruby-runtime for centos 6 and version 5.0.0 of sensu-plugins-disk-checks
  3. add a check which uses those runtime assets, with check-disk-usage.rb
  4. Observe that the check results show an error related to GLIBC_VERSION 2.14 not found -- centos 6.10 is expected to have GLIBC version 2.12

Context

I feel like I've run into similar behavior in the past where using Docker containers to compile binaries for platforms with one version of glibc actually results in binaries linked to the docker host glibc. It might be the case that we cant use Docker for our build process here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions