Skip to content

Ability to call specific modules in wasmtime no longer works #194

@jsturtevant

Description

@jsturtevant

After switching to youki in #131, the ability to pass module names via the entry point no longer works. See a repo in https://github.com/containerd/runwasi/compare/main...jsturtevant:runwasi:specific-modules?expand=1

running 1 test
[2023-07-21T23:24:52Z ERROR libcontainer::process::container_init_process] executable ./hello.wat#foo for container process not found in PATH
[2023-07-21T23:24:52Z ERROR libcontainer::process::container_intermediate_process] failed to initialize container process: invalid executable: ./hello.wat#foo

Do we want to re-enable this? It is due to youki doing runtime checks when starting the container: https://github.com/containers/youki/blob/c3559e4a0aff56d63bcda80f35e7cf0b58ccacbe/crates/libcontainer/src/process/container_init_process.rs#L106-L117

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