Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VERSION: release 1.0.0~rc93 #2784

Merged
merged 2 commits into from
Feb 4, 2021
Merged

VERSION: release 1.0.0~rc93 #2784

merged 2 commits into from
Feb 4, 2021

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Feb 3, 2021

Release Notes

v1.0.0~rc93

This is the last feature-rich RC release and we are in a feature-freeze until
1.0. 1.0.0~rc94 will be released in a few weeks with minimal bug fixes only,
and 1.0.0 will be released soon afterwards.

  • runc's cgroupv2 support is no longer considered experimental. It is now
    believed to be fully ready for production deployments. In addition, runc's
    cgroup code has been improved:

    • The systemd cgroup driver has been improved to be more resilient and
      handle more systemd properties correctly.
    • We now make use of openat2(2) when possible to improve the security of
      cgroup operations (in future runc will be wholesale ported to libpathrs to
      get this protection in all codepaths).
  • runc's mountinfo parsing code has been reworked significantly, making
    container startup times significantly faster and less wasteful in general.

  • runc now has special handling for seccomp profiles to avoid making new
    syscalls unusable for glibc. This is done by installing a custom prefix to
    all seccomp filters which returns -ENOSYS for syscalls that are newer than
    any syscall in the profile (meaning they have a larger syscall number).

    This should not cause any regressions (because previously users would simply
    get -EPERM rather than -ENOSYS, and the rule applied above is the most
    conservative rule possible) but please report any regressions you find as a
    result of this change -- in particular, programs which have special fallback
    code that is only run in the case of -EPERM.

  • runc now supports the following new runtime-spec features:

    • The umask of a container can now be specified.
    • The new Linux 5.9 capabilities (CAP_PERFMON, CAP_BPF, and
      CAP_CHECKPOINT_RESTORE) are now supported.
    • The "unified" cgroup configuration option, which allows users to explicitly
      specify the limits based on the cgroup file names rather than abstracting
      them through OCI configuration. This is currently limited in scope to
      cgroupv2.
  • Various rootless containers improvements:

    • runc will no longer cause conflicts if a user specifies a custom device
      which conflicts with a user-configured device -- the user device takes
      precedence.
    • runc no longer panics if /sys/fs/cgroup is missing in rootless mode.
  • runc --root is now always treated as local to the current working directory.

  • The --no-pivot-root hardening was improved to handle nested mounts properly
    (please note that we still strongly recommend that users do not use
    --no-pivot-root -- it is still an insecure option).

  • A large number of code cleanliness and other various cleanups, including
    fairly large changes to our tests and CI to make them all run more
    efficiently.

For packagers the following changes have been made which will have impact on
your packaging of runc:

  • The "selinux" and "apparmor" buildtags have been removed, and now all runc
    builds will have SELinux and AppArmor support enabled. Note that "seccomp"
    is still optional (though we very highly recommend you enable it).

  • make install DESTDIR= now functions correctly.

Thanks to the following people who made this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
@cyphar
Copy link
Member Author

cyphar commented Feb 3, 2021

https://groups.google.com/a/opencontainers.org/g/dev/c/iTHGf2eywXo is the ML thread for the vote.

@cyphar cyphar added this to the 1.0.0-rc93 milestone Feb 3, 2021
@cyphar cyphar removed the request for review from mrunalp February 3, 2021 02:40
@kolyshkin
Copy link
Contributor

(I blatantly fixed the second-level item list markdown formatting in release notes).

The "unified" cgroup configuration option, which allows users to explicitly
specify the limits based on the cgroup file names rather than abstracting
them through OCI configuration.

Maybe mention this functionality is for cgroup v2 only.

Might also add

@kolyshkin
Copy link
Contributor

Maybe mention this functionality is for cgroup v2 only.

And provide a link to spec (https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#unified)

@kolyshkin
Copy link
Contributor

kolyshkin commented Feb 3, 2021

And provide a link to spec (https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#unified)

Upon (re-)reading which I suddenly realized its scope is NOT limited to cgroup v2 like I had imagined (but nevertheless the runc implementation is).

@cyphar
Copy link
Member Author

cyphar commented Feb 3, 2021

Yup, I'll add notes for those. I usually don't link directly to bugs because it's too many things to track (in future we're going to have a CHANGELOG.md so I don't have to write these by hand each time).

Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (and yay! 🐶)

@cyphar
Copy link
Member Author

cyphar commented Feb 3, 2021

Alright we have 4/7, but I'll wait until tomorrow before merging to give @crosbymichael @hqhq and @dqminh a chance to review as well.

@kolyshkin
Copy link
Contributor

in future we're going to have a CHANGELOG.md so I don't have to write these by hand each time).

I'd say add each bug to the milestone, so we don't have to write anything at all! For example (this is obviously incomplete now): v1.0.0-rc93 issues.

@cyphar
Copy link
Member Author

cyphar commented Feb 3, 2021

I still think it's better to have a changelog file which has a user-understandable description so that PR authors do the writing and I can just copy the section -- the goal of the release notes is to be more understandable than a list of issue and PR titles (which are usually not very helpful, even to me). This is how I do umoci releases.

@cyphar cyphar removed the request for review from hqhq February 3, 2021 12:20
@cyphar cyphar closed this in 7c11557 Feb 4, 2021
@cyphar cyphar merged commit 7c11557 into opencontainers:master Feb 4, 2021
@cyphar cyphar deleted the release-rc93 branch February 4, 2021 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants