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

tests: allow to load kernel modules from a test container #1750

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

avagin
Copy link
Contributor

@avagin avagin commented Feb 28, 2018

CRIU needs to load a few modules to checkpoint/resume containers.

#1745
Signed-off-by: Andrei Vagin avagin@virtuozzo.com

@tiborvass
Copy link
Contributor

@avagin this fixed my issue, now make test succeeds for me too, thank you!

@dqminh
Copy link
Contributor

dqminh commented Mar 1, 2018

LGTM

Approved with PullApprove

@@ -65,13 +65,13 @@ localtest:
make localunittest localintegration localrootlessintegration

unittest: runcimage
docker run -e TESTFLAGS -t --privileged --rm -v $(CURDIR):/go/src/$(PROJECT) $(RUNC_IMAGE) make localunittest
Copy link
Member

Choose a reason for hiding this comment

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

Should /lib/modules be read-only? I'm a little concerned about making it read-write (in case something breaks and we overwrite some critical modules).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. Will fix.

CRIU needs to load a few modules to checkpoint/resume containers.

opencontainers#1745
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
@cyphar
Copy link
Member

cyphar commented Mar 13, 2018

LGTM. Thanks @avagin.

Approved with PullApprove

@mrunalp
Copy link
Contributor

mrunalp commented Mar 20, 2018

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit 07ab54f into opencontainers:master Mar 20, 2018
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.

5 participants