@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ 1.5.0-rc.1] - 2026-03-12
10+
11+ > 不易流行
12+
13+ > [ !NOTE]
14+ > runc v1.5.0-rc.1 includes all of the patches backported to runc v1.4.1.
15+
916### libcontainer API ###
1017- The following deprecated Go APIs have been removed:
1118 - ` CleanPath ` , ` StripRoot ` , and ` WithProcfd ` from ` libcontainer/utils ` . Note
@@ -28,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2835 - ` libcontainer/configs.NewWeightDevice `
2936 - ` libcontainer/configs.NewThrottleDevice `
3037 - ` libcontainer/configs.HookList.RunHooks ` . (#5141 )
31- - ` libcontainer/configs.MPOL_* ` (#5414 )
38+ - ` libcontainer/configs.MPOL_* ` (#5141 )
3239 - All of the types in ` libcontainer/devices ` which are now maintained in
3340 ` github.com/opencontainers/cgroups/devices/config ` (#5141 ):
3441 - ` libcontainer/devices.Wildcard `
@@ -40,19 +47,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4047 - ` libcontainer/devices.Permissions `
4148 - ` libcontainer/devices.Type `
4249 - ` libcontainer/devices.Rule `
50+ - ` libcontainer.Process ` methods (` Wait ` , ` Pid ` , ` Signal ` ) and
51+ ` libcontainer/configs.Config ` methods (` HostUID ` , ` HostRootUID ` , ` HostGID ` ,
52+ ` HostRootGID ` ) now use pointer receivers. (#5088 )
53+ - The example code for ` libcontainer ` has been moved out of a ` README ` and into
54+ a proper ` Example* ` test file that will be compile-tested by our CI. As
55+ mentioned elsewhere, we still * do not* recommend users make use of the
56+ ` libcontainer ` API directly. (#5127 )
57+
58+ ### Deprecated ###
59+ - The ` libcontainer/configs.Mount.Relabel ` configuration field (used to relabel
60+ mounts with the ` z ` and ` Z ` "pseudo" mount options) was never accessible
61+ outside of the libcontainer API, and in practice the relabel logic has always
62+ lived in higher level runtimes. It has been made into a no-op and the field
63+ will be removed entirely in runc 1.7. (#5152 , #5160 )
4364
4465### Removed ###
4566- The ` memfd-bind ` helper binary has been removed, as it has never been
4667 particularly useful and was completely obsoleted by the changes to
4768 ` /proc/self/exe ` sealing we introduced in runc [ 1.2.0] [ ] . (#5141 )
4869
70+ ### Added ###
71+ - User-namespaced containers can now configure ` user.* ` sysctls. (#4889 )
72+ - Intel RDT: the RDT subdirectory is now only removed if runc created it,
73+ matching the updated runtime-spec guidance. (#3832 , #5155 )
74+
4975### Changed ###
5076- Our release binaries and default build configuration now use [ libpathrs] [ ] by
51- default, providiung better hardening against certain kinds of attacks. Users
52- of runc should not see any changes as a result of this, but pacakgers will
77+ default, providing better hardening against certain kinds of attacks. Users
78+ of runc should not see any changes as a result of this, but packagers will
5379 need to adjust their packaging accordingly. runc can still be built without
5480 libpathrs (by building without the ` libpathrs ` build tag), but we currently
5581 plan to make runc 1.6 * require* libpathrs. (#5103 )
82+ - ` runc exec ` will now request systemd to move the ` exec ` process into the
83+ container cgroup, making the procedure more rootless-friendly. (#4822 )
84+ - seccomp: minor documentation updates. (#4902 )
85+ - Errors from ` runc init ` have historically been quite painful to understand
86+ and debug, we have made several improvements to make them more comprehensive
87+ and thus useful when debugging issues. (#4951 , #4928 )
88+ - Update spec conformance documentation for OCI runtime-spec v1.3.0. (#4948 ,
89+ #5150 )
90+ - Our release archives now have the name ` runc-$version.tar.xz ` to make distro
91+ packaging a little easier by matching the filename to the top-level directory
92+ name in the archive. (#5052 )
5693
5794[ libpathrs ] : https://github.com/cyphar/libpathrs
5895
@@ -1651,3 +1688,7 @@ implementation (libcontainer) is *not* covered by this policy.
16511688[ 1.4.0-rc.3 ] : https://github.com/opencontainers/runc/compare/v1.4.0-rc.2...v1.4.0-rc.3
16521689[ 1.4.0-rc.2 ] : https://github.com/opencontainers/runc/compare/v1.4.0-rc.1...v1.4.0-rc.2
16531690[ 1.4.0-rc.1 ] : https://github.com/opencontainers/runc/compare/v1.3.0...v1.4.0-rc.1
1691+
1692+ <!-- 1.5.z patch releases -->
1693+ [ Unreleased 1.5.z ] : https://github.com/opencontainers/runc/compare/v1.5.0-rc.1...release-1.5
1694+ [ 1.5.0-rc.1 ] : https://github.com/opencontainers/runc/compare/v1.4.0...v1.5.0-rc.1
0 commit comments