-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Description
Hello,
We are using Ubuntu 22.04 in our environment. One docker container using ".." in its bind mount paths stopped starting with this new runc v1.3.3 version. Full error being thrown is:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error closing exec fds: get handle to /proc/thread-self/fd: unsafe procfs detected: openat2 fsmount:fscontext:proc/thread-self/fd/: function not implemented: unknown
The additional info I received is:
This issue is related to a regression introduced in the Ubuntu runc package version [1.3.3-0ubuntu1~22.04.2]
The problem originates from an Ubuntu-specific patch (openat2-improve-resilience-on-busy-systems.patch) that breaks container startup on some systems or kernel versions.
Steps to reproduce the issue
- On Ubuntu 22.04 machine install runc version: 1.3.3-0ubuntu1~22.04.2
- Try to start any docker container using ".." in its bind mount paths
- Error is thrown
Describe the results you received and expected
Received:
Docker container does not start. This error is thrown:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error closing exec fds: get handle to /proc/thread-self/fd: unsafe procfs detected: openat2 fsmount:fscontext:proc/thread-self/fd/: function not implemented: unknown
Expected:
Docker container is successfully started
What version of runc are you using?
user@host ~$ runc --version runc version 1.3.3-0ubuntu1~22.04.2 spec: 1.2.1 go: go1.23.1 libseccomp: 2.5.3 user@host ~$
Host OS information
user@host ~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
user@host ~$
Host kernel information
user@host ~$ uname -a
Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
user@host ~$