Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Conversation

@thaJeztah
Copy link
Member

backport of moby#38128 for 18.09

depends on #106, so this PR was built on top of that; only the last two commits are new

git checkout -b 18.09_backport_runc ce-engine/18.09
git cherry-pick -s -S -x 335736fb0167a31a00cf2967c181a565c61334be
git cherry-pick -s -S -x 8972aa9350d52e4a7e58242447b7a9d2f0c27f37

1. bump runc

Changes: opencontainers/runc@a00bf01...9f1e944

This is primarily to pull in opencontainers/runc#1921

2. runc.installer: add nokmem build tag for rhel7 kernel

In case we're running on RHEL7 kernel, which has non-working
and broken kernel memory controller, add 'nokmem' build tag
so that runc never enables kmem accounting.

For more info, see the following runc commit:
opencontainers/runc@6a2c1559684

This behavior can be overriden by having RUNC_NOKMEM environment
variable set (e.g. to empty value to disable setting nokmem).

John Howard and others added 5 commits November 6, 2018 11:03
Signed-off-by: John Howard <[email protected]>

This removes the need for an SVM in the LCOW driver to ApplyDiff.

This change relates to a fix for moby#36353

However, it found another issue, tracked by moby#37955

(cherry picked from commit bde9996)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: John Howard <[email protected]>
(cherry picked from commit d03ab10)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Changes: opencontainers/runc@69663f0...a00bf01

Signed-off-by: Akihiro Suda <[email protected]>
(cherry picked from commit 275044b)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit dd7799a)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Changes: opencontainers/runc@a00bf01...9f1e944

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit 335736f)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 18.09.1 milestone Nov 12, 2018
@thaJeztah
Copy link
Member Author

This only partially addresses the issue; the runc/containerd packaging scripts have to be updated accordingly, as those are used to build the containerd.io package

In case we're running on RHEL7 kernel, which has non-working
and broken kernel memory controller, add 'nokmem' build tag
so that runc never enables kmem accounting.

For more info, see the following runc commit:
opencontainers/runc@6a2c1559684

This behavior can be overriden by having `RUNC_NOKMEM` environment
variable set (e.g. to empty value to disable setting nokmem).

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit 8972aa9)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
Copy link
Member Author

force pushed to trigger CI, as Jenkins results were purged

@andrewhsu
Copy link

this fix is already included in #121

@andrewhsu andrewhsu closed this Nov 27, 2018
@thaJeztah thaJeztah deleted the 18.09_backport_runc branch November 27, 2018 17:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants