[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] PEP 578: Python Runtime Audit Hooks

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.