Skip to content

[v1.3.3] Error response from daemon: failed to create task for container #5007

@zkolpet

Description

@zkolpet

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

  1. On Ubuntu 22.04 machine install runc version: 1.3.3-0ubuntu1~22.04.2
  2. Try to start any docker container using ".." in its bind mount paths
  3. 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 ~$

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions