Skip to content

Agent doesn't build on docker container leading to possible glibc mismatch #832

@daniel-brenot

Description

@daniel-brenot

When compiling firecracker and the other binaries, the agent is built on the host os. This is an issue as the GLIBC version on the host may not match the version in bullseye, the image used as the base for the vm image. Because of this, when I run the daemon on my machine pointing to the vm image i built on my machine, i get an error that the version of GLIBC is not new enough for the agent, causing the image to not boot.

I was able to make the issue go away by updating the debian version used in debootstrap, however this is temporary and will stop working when the GLIBC version on bullseye stops matching the version on my ubuntu version.

I think the best path forward is to use a debian container to build the agent. It should be the same base image as is used for the debootstrap so that the glibc version always matches between them.

I may make a pr for this.

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