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

[docker] Ignore mountpoints not accessible by current user #2427

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

c960657
Copy link

@c960657 c960657 commented Apr 19, 2016

On Ubuntu 16.04, both /run/lxcfs/controllers- and /sys/fs-style mount points are present. Only the latter are accessible by the dd-agent user, but find_cgroup() returns the former.

With this PR, find_cgroup() checks that the mount point is accessible by the current user.

@c960657 c960657 changed the title Ignore mountpoints not accessible by current user [docker] Ignore mountpoints not accessible by current user Apr 19, 2016
@remh remh added this to the 5.8.0 milestone Apr 26, 2016
@remh
Copy link

remh commented Apr 26, 2016

Seems reasonable to me! Thanks a lot!

@remh remh merged commit 153cb10 into DataDog:master Apr 26, 2016
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