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

[3.4] runtime: move pause process to scope #11624

Merged
merged 6 commits into from
Sep 20, 2021

Conversation

giuseppe
Copy link
Member

backport of: #11606

make sure the pause process is moved to its own scope as well as what we do when we join an existing user+mount namespace.

Closes: #11560

[NO TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano [email protected]

we already know the path to the pause PID file, no need to calculate
it again.

Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit fa9728c)
when running on a systemd with systemd, always try to move the pause
process to its own scope.

Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit 9c1e27f)
Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit 72534a7)
make sure the pause process is moved to its own scope as well as what
we do when we join an existing user+mount namespace.

Closes: containers#11560

[NO TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit a2c8b5d)
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 17, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 17, 2021
@rhatdan
Copy link
Member

rhatdan commented Sep 17, 2021

LGTM

@TomSweeneyRedHat
Copy link
Member

Changes LGTM
but tests aren't hip

@giuseppe
Copy link
Member Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 20, 2021
if it is not running on cgroup v2, print only a debug message since
rootless users cannot create the cgroup.

commit 9c1e27f introduced the regression.

[NO TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit 4caca09)
Signed-off-by: Giuseppe Scrivano <[email protected]>
(cherry picked from commit eea5d25)
@giuseppe
Copy link
Member Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 20, 2021
@rhatdan rhatdan merged commit f935008 into containers:v3.4 Sep 20, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants