python / cpython

The Python programming language
https://www.python.org
Other
62.43k stars 29.97k forks source link

FileNotFoundError im LXC container #123099

Closed DocMAX closed 1 month ago

DocMAX commented 1 month ago

Bug report

Bug description:

https://forum.proxmox.com/threads/filenotfounderror-im-lxc-container.152965/

CPython versions tested on:

3.12

Operating systems tested on:

Linux

picnixz commented 1 month ago

Please, explain the issue directly here instead of linking it to an external website. AFAICT, this may be an issue with the mount points, but I'm not sure we can do something here.

ZeroIntensity commented 1 month ago

Could #122890 be related?

picnixz commented 1 month ago

cc @barneygale as the path expert

DocMAX commented 1 month ago

Looks like it's a LXC container issue + Binfmt. I try to run a Windows EXE and it seems binfmt is not running. A very special use-case. Thus closing this.