Closed Agalin closed 1 year ago
Thanks for reporting this. libkrun already has an alternative way to pass the environment variables that's used in TEE mode. This mechanism requires the container configuration (podman inspect ...
) to be written to a well-known file (/.krun_config.json
), so we just need to teach crun
to do that.
I've created https://github.com/containers/crun/issues/1069 to discuss this there.
Awesome! I feared it would require a huge reimplementation in krun (didn't check sev-related code, didn't even know that tee
refers to it 😓).
That would also fix #94 and make #95 a non-issue I believe.
Recent versions of libkrun read the environment variables from a file, so this should no longer be reproducible. Please feel free to reopen this one if the issue persists.
When running a container through podman/crun in krun mode it's not possible to specify more than 26 environment variables.
If more variables are specified container exits (without any visible errors).
Environment: Debian 11 libkrun built from #92 libkrunfw 3.8.1 Both self-built without any special flags.