On 16/04/2019 14.57, Victor Stinner wrote:
Le mar. 16 avr. 2019 à 14:35, Christian Heimes email@example.com 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.