Skip to content

Execution of Linux binaries on a Flex Consumption Plan #2643

@MrBildo

Description

@MrBildo

Is your question related to a specific version? If so, please specify:

Flex Consumption Plan

What language does your question apply to? (e.g. C#, JavaScript, Java, All)

.NET 8/C#

Question

Short question: Does Flex Consumption allow execution of arbitrary ELF64 executables via execve? If not, is this a documented limitation or a bug?

Longer question: Need confirmation whether executing native Linux binaries such as ffprobe/ffmpeg is supported in Flex Consumption. By default the main execution stack is read-only, so the binaries need to be moved "outside" to support a writeable working directory. I am able to do this and it does allow execution, however they immediately segfault. The same binaries work locally in a Linux container. No console access on Flex makes it impossible to debug. Requesting engineering confirmation whether this is supported by design.

This works if I use Windows binaries in a Windows Consumption Plan.

This is a huge gap between the Flex and "Legacy" Windows Consumption Plan. I would like to move to all Flex plans, but this is a significant limitation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions