[Python-Dev] PEP 578: Python Runtime Audit Hooks
christian at python.org
Tue Apr 16 09:09:34 EDT 2019
On 16/04/2019 14.57, Victor Stinner wrote:
> Le mar. 16 avr. 2019 à 14:35, Christian Heimes <christian at python.org> a écrit :
>> * Linux: readlink("/proc/self/fd/%i")
> That doens't work if /proc is not mounted, which can occur in a
> container (where /proc is not mounted nor binded to host /proc).
No, it won't work. But there is much more that breaks when /proc is not
mounted. Therefore all container runtimes mount /proc and /sys into
containers. I checked systemd-nspawn, podman, and docker.
More information about the Python-Dev