Skip to content

Criu ignore cgroup#3545

Closed
kolyshkin wants to merge 2 commits intoopencontainers:mainfrom
kolyshkin:criu-ignore-cgroup
Closed

Criu ignore cgroup#3545
kolyshkin wants to merge 2 commits intoopencontainers:mainfrom
kolyshkin:criu-ignore-cgroup

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

Debugging Fedora CI failure in #3447

adrianreber and others added 2 commits July 29, 2022 15:51
This adds an already existing CRIU cgroup mode to be selectable from
runc: 'ignore'.

This is a fix for errors seen with Podman containers that have been
restored multiple times into new cgroups. CRIU fails to checkpoint a
container that has already been restored once in a cgroup named
differently than the original container.

CRIU keeps information about the original cgroup and during restore in
a differently named cgroup CRIU still tries to restore to original
cgroup. This leads to a process with wrong cgroup settings and a second
checkpoint of that container fails.

With 'ignore' CRIU will ignore any cgroups and leave the cgroup setting
to runc.

Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin force-pushed the criu-ignore-cgroup branch from 6b28350 to 0e8b1e7 Compare July 29, 2022 23:11
@kolyshkin kolyshkin closed this Aug 2, 2022
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.

2 participants