|
Bugzilla – Full Text Bug Listing |
| Summary: | Podman does not respect annotations | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Alexandre Vicenzi <alexandre.vicenzi> |
| Component: | Containers | Assignee: | Containers Team <containers-bugowner> |
| Status: | CONFIRMED --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Alexandre Vicenzi
2023-10-10 17:28:33 UTC
Try installing crun. The default runtime on opensuse Tumbleweed is runc, where running wasm binaries doesn't appear to work. (In reply to Dan Čermák from comment #1) > Try installing crun. The default runtime on opensuse Tumbleweed is runc, > where running wasm binaries doesn't appear to work. I do have crun installed and Podman picks the correct runtime based on annotations. It fails even if I force to use crun. > podman run hello-wasm > {"msg":"exec container process `/hello.wasm`: Exec format error","level":"error","time":"2023-10-12T07:24:48.688437Z"} > podman --runtime=/usr/bin/crun run hello-wasm > {"msg":"exec container process `/hello.wasm`: Exec format error","level":"error","time":"2023-10-12T07:24:58.163032Z"} To my surprise, it works if I do:
> podman --runtime=/usr/bin/crun-wasm run hello-wasm
> Hello WebAssembly!
/usr/bin/crun-wasm is link to /usr/bin/crun, it is the same binary.
alexandre@localhost:~/workspace/hello> /usr/bin/crun -v
crun version 1.9
commit: a538ac4ea1ff319bcfe2bf81cb5c6f687e2dc9d3
rundir: /run/user/1000/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
alexandre@localhost:~/workspace/hello> /usr/bin/crun-wasm -v
crun version 1.9
commit: a538ac4ea1ff319bcfe2bf81cb5c6f687e2dc9d3
rundir: /run/user/1000/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
|