Skip to content

Conversation

@kolyshkin
Copy link
Contributor

@kolyshkin kolyshkin commented Jul 8, 2021

Backport of PR #3045 to release-1.0 branch. Draft, needs to be rebased on top of PR #3075 to fix CI.

When running a script from an azure file share interrupted syscall
occurs quite frequently, to remedy this add retries around execve
syscall, when EINTR is returned.

Signed-off-by: Maksim An maksiman@microsoft.com
(cherry picked from commit e39ad65)

[Minor conflict in libcontainer/standard_init_linux.go due to missing
commit e918d02 -- resolved manually]

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

Proposed changelog entry

Bugfixes:
* Fixed occasional runc exec/run failure ("interrupted system call") on an Azure volume.

@kolyshkin kolyshkin added this to the 1.0.1 milestone Jul 8, 2021
@kolyshkin
Copy link
Contributor Author

Ah, we need to backport #3051 to fix CI in release-1.0 first. Marking this one as a draft for now.

@kolyshkin kolyshkin marked this pull request as draft July 8, 2021 01:38
@kolyshkin kolyshkin mentioned this pull request Jul 8, 2021
When running a script from an azure file share interrupted syscall
occurs quite frequently, to remedy this add retries around execve
syscall, when EINTR is returned.

Signed-off-by: Maksim An <maksiman@microsoft.com>
(cherry picked from commit e39ad65)

[Minor conflict in libcontainer/standard_init_linux.go due to missing
commit e918d02 -- resolved manually]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin force-pushed the 1.0-backport-3045 branch from d41582b to 3745b2b Compare July 8, 2021 20:13
@kolyshkin kolyshkin marked this pull request as ready for review July 8, 2021 20:13
@mrunalp mrunalp merged commit 8304d0c into opencontainers:release-1.0 Jul 9, 2021
@cyphar cyphar added the backport/1.0-pr A backport PR to release-1.0 label Jul 15, 2021
breakings added a commit to breakings/packages that referenced this pull request Aug 8, 2021
This is the first stable release in the 1.0 branch, fixing a few medium
and high priority issues with runc 1.0.0, including a few that affect
Kubernetes' usage of libcontainer.

Bugfixes:

- Fixed occasional runc exec/run failure ("interrupted system call") on an
  Azure volume. ([#3074](opencontainers/runc#3074))
- Fixed "unable to find groups ... token too long" error with /etc/group
  containing lines longer than 64K characters. ([#3079](opencontainers/runc#3079))
- cgroup/systemd/v1: fix leaving cgroup frozen after Set if a parent cgroup is
  frozen. This is a regression in 1.0.0, not affecting runc itself but some
  of libcontainer users (e.g Kubernetes). ([#3085](opencontainers/runc#3085))
- cgroupv2: bpf: Ignore inaccessible existing programs in case of
  permission error when handling replacement of existing bpf cgroup
  programs. This fixes a regression in 1.0.0, where some SELinux
  policies would block runc from being able to run entirely. ([#3087](opencontainers/runc#3087))
- cgroup/systemd/v2: don't freeze cgroup on Set. ([#3092](opencontainers/runc#3092))
- cgroup/systemd/v1: avoid unnecessary freeze on Set. ([#3093](opencontainers/runc#3093))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.0-pr A backport PR to release-1.0 impact/changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants