Skip to content

Remove APIs deprecated for removal in runc 1.6 - #5495

Open
kolyshkin wants to merge 2 commits into
opencontainers:mainfrom
kolyshkin:rm-deprecated
Open

kolyshkin wants to merge 2 commits into
opencontainers:mainfrom
kolyshkin:rm-deprecated

Conversation

@kolyshkin

@kolyshkin kolyshkin commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

The following APIs were deprecated in runc 1.5, with a note that they will be
removed in runc 1.6:

  • the libcontainer/devices package (use github.com/moby/sys/devices
    instead), see #5142 and #5223;
  • RecvFile, SendFile, and SendRawFd from libcontainer/utils (moved to
    an internal package), see #5227.

Remove them. As a result, github.com/moby/sys/devices is no longer a runc
dependency.

@kolyshkin kolyshkin added this to the 1.6.0-rc.1 milestone Sep 26, 2026
This package was deprecated in runc 1.5 (in favor of
github.com/moby/sys/devices), with a note that it will be removed
in runc 1.6.

Remove it. As a result, github.com/moby/sys/devices is no longer
a runc dependency.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
RecvFile, SendFile, and SendRawFd were moved to an internal package
in runc 1.5, and the wrappers left in libcontainer/utils were
deprecated, with a note that they will be removed in runc 1.6.

Remove them.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant