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

Update FindCgroupMountpoint to be more forgiving #464

Merged
merged 1 commit into from Apr 23, 2013
Merged

Update FindCgroupMountpoint to be more forgiving #464

merged 1 commit into from Apr 23, 2013

Conversation

tianon
Copy link
Member

@tianon tianon commented Apr 23, 2013

On Gentoo, the memory cgroup is mounted at /sys/fs/cgroup/memory, but the mount line looks like the following:
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)

(note that the first word on the line is "memory", not "cgroup", but the other essentials are there, namely the type of cgroup and the memory mount option)

This is as I mentioned in this comment, but didn't fully realize what was going on until today.

On Gentoo, the memory cgroup is mounted at /sys/fs/cgroup/memory, but the mount line looks like the following:
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)

(note that the first word on the line is "memory", not "cgroup", but the other essentials are there, namely the type of cgroup and the memory mount option)
shykes pushed a commit that referenced this pull request Apr 23, 2013
- Runtime: adapt cgroup capability detection to work on Gentoo
@shykes shykes merged commit cff26b3 into moby:master Apr 23, 2013
@tianon tianon deleted the patch-1 branch April 23, 2013 07:50
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.

None yet

2 participants