Replies: 3 comments 6 replies
-
Thank you for reaching out, @spoutn1k! I honestly don't know why. @giuseppe do you? |
Beta Was this translation helpful? Give feedback.
-
if the FDs are not sequential we can cause weird issues in the OCI runtime, since opened files from the OCI runtime will fill these spaces and they could more easily leak into the container. I think we could relax the Podman check, but wouldn't be also possible to address this issue by opening EDIT: and it is also trickier to handle in Podman and in conmon as we must close these fds (as likely they were open by Podman and conmon itself) before executing conmon and the OCI runtime. |
Beta Was this translation helpful? Give feedback.
-
you can, with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am trying to run containerized MPI applications using podman. To setup execution, MPI libraries communicate via PMI, often using file descriptors inherited from the manager process.
Now using
--preserve-fds
fails for me, as some of those file descriptors are non-sequential: the process with the fd 17 might not have a fd 15.I found this check:
podman/cmd/podman/containers/exec.go
Lines 134 to 138 in f918a94
And I was wondering why the file passed file descriptors had to be
and if this was a limitation set by a backend of some sort.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions