error closing exec fds: open /proc/self/fd: no such file or directory #4420
Unanswered
maikelmeyers79
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
We are using podman/runc in our Yocto based distribution, but we are getting the error message: : open /proc/self/fd: no such file or directory if we try to exec a command inside a running container (podman exec ). The message comes from runc. The failure is related to our approach to have an overlay filesystem over the complete rootfs (except /var/lib/containers).
We are using this script as a replacement for the init process: https://github.com/cmhe/meta-readonly-rootfs-overlay/blob/master/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
As you can see /proc /sys and /dev are moved into the overlay-fs at the end. This works, but runc seems to have problems with this setup. We are unable to find out why procfs seems not to work properly inside the container. Do you have any ideas?
Thanks
Maik
Beta Was this translation helpful? Give feedback.
All reactions