Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ignore cgroup2 mountpoints #1266

Merged
merged 2 commits into from
Jan 20, 2017
Merged

Conversation

mrunalp
Copy link
Contributor

@mrunalp mrunalp commented Jan 10, 2017

Our current cgroup parsing logic assumes cgroup v1 mounts
so we should ignore cgroup2 mounts for now

Closes #1209

Signed-off-by: Mrunal Patel mrunalp@gmail.com

@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 10, 2017

@hqhq @cyphar @crosbymichael PTAL

@dqminh
Copy link
Contributor

dqminh commented Jan 11, 2017

can we add a testcase for this ?

Our current cgroup parsing logic assumes cgroup v1 mounts
so we should ignore cgroup2 mounts for now

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 11, 2017

Sure, I'll add a test.

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 12, 2017

@dqminh Added a test.

@hqhq
Copy link
Contributor

hqhq commented Jan 17, 2017

LGTM

Approved with PullApprove

1 similar comment
@dqminh
Copy link
Contributor

dqminh commented Jan 20, 2017

LGTM

Approved with PullApprove

@dqminh dqminh merged commit b8cefd7 into opencontainers:master Jan 20, 2017
@evverx
Copy link

evverx commented Jan 23, 2017

@mrunalp , thanks. How does this PR affect #1175 ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants