{"action":"closed","number":2427,"pull_request":{"url":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427","id":67032081,"html_url":"https://github.com/DataDog/dd-agent/pull/2427","diff_url":"https://github.com/DataDog/dd-agent/pull/2427.diff","patch_url":"https://github.com/DataDog/dd-agent/pull/2427.patch","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2427","number":2427,"state":"closed","locked":false,"title":"[docker] Ignore mountpoints not accessible by current user","user":{"login":"c960657","id":111346,"avatar_url":"https://avatars.githubusercontent.com/u/111346?v=3","gravatar_id":"","url":"https://api.github.com/users/c960657","html_url":"https://github.com/c960657","followers_url":"https://api.github.com/users/c960657/followers","following_url":"https://api.github.com/users/c960657/following{/other_user}","gists_url":"https://api.github.com/users/c960657/gists{/gist_id}","starred_url":"https://api.github.com/users/c960657/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c960657/subscriptions","organizations_url":"https://api.github.com/users/c960657/orgs","repos_url":"https://api.github.com/users/c960657/repos","events_url":"https://api.github.com/users/c960657/events{/privacy}","received_events_url":"https://api.github.com/users/c960657/received_events","type":"User","site_admin":false},"body":"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.\r\n\r\nWith this PR, `find_cgroup()` checks that the mount point is accessible by the current user.","created_at":"2016-04-19T14:49:35Z","updated_at":"2016-04-26T21:47:27Z","closed_at":"2016-04-26T21:47:27Z","merged_at":"2016-04-26T21:47:27Z","merge_commit_sha":"153cb104b93ee907151452958544644f4a11c4b9","assignee":null,"milestone":{"url":"https://api.github.com/repos/DataDog/dd-agent/milestones/58","html_url":"https://github.com/DataDog/dd-agent/milestones/5.8.0","labels_url":"https://api.github.com/repos/DataDog/dd-agent/milestones/58/labels","id":1465870,"number":58,"title":"5.8.0","description":null,"creator":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":28,"state":"open","created_at":"2015-12-17T22:49:17Z","updated_at":"2016-04-26T21:47:27Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427/commits","review_comments_url":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427/comments","review_comment_url":"https://api.github.com/repos/DataDog/dd-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2427/comments","statuses_url":"https://api.github.com/repos/DataDog/dd-agent/statuses/7fd2377fa9a3b9858bafb7fb8e23e8152457dabe","head":{"label":"c960657:patch-4","ref":"patch-4","sha":"7fd2377fa9a3b9858bafb7fb8e23e8152457dabe","user":{"login":"c960657","id":111346,"avatar_url":"https://avatars.githubusercontent.com/u/111346?v=3","gravatar_id":"","url":"https://api.github.com/users/c960657","html_url":"https://github.com/c960657","followers_url":"https://api.github.com/users/c960657/followers","following_url":"https://api.github.com/users/c960657/following{/other_user}","gists_url":"https://api.github.com/users/c960657/gists{/gist_id}","starred_url":"https://api.github.com/users/c960657/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c960657/subscriptions","organizations_url":"https://api.github.com/users/c960657/orgs","repos_url":"https://api.github.com/users/c960657/repos","events_url":"https://api.github.com/users/c960657/events{/privacy}","received_events_url":"https://api.github.com/users/c960657/received_events","type":"User","site_admin":false},"repo":{"id":45394304,"name":"dd-agent","full_name":"c960657/dd-agent","owner":{"login":"c960657","id":111346,"avatar_url":"https://avatars.githubusercontent.com/u/111346?v=3","gravatar_id":"","url":"https://api.github.com/users/c960657","html_url":"https://github.com/c960657","followers_url":"https://api.github.com/users/c960657/followers","following_url":"https://api.github.com/users/c960657/following{/other_user}","gists_url":"https://api.github.com/users/c960657/gists{/gist_id}","starred_url":"https://api.github.com/users/c960657/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c960657/subscriptions","organizations_url":"https://api.github.com/users/c960657/orgs","repos_url":"https://api.github.com/users/c960657/repos","events_url":"https://api.github.com/users/c960657/events{/privacy}","received_events_url":"https://api.github.com/users/c960657/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/c960657/dd-agent","description":"Datadog Agent","fork":true,"url":"https://api.github.com/repos/c960657/dd-agent","forks_url":"https://api.github.com/repos/c960657/dd-agent/forks","keys_url":"https://api.github.com/repos/c960657/dd-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c960657/dd-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c960657/dd-agent/teams","hooks_url":"https://api.github.com/repos/c960657/dd-agent/hooks","issue_events_url":"https://api.github.com/repos/c960657/dd-agent/issues/events{/number}","events_url":"https://api.github.com/repos/c960657/dd-agent/events","assignees_url":"https://api.github.com/repos/c960657/dd-agent/assignees{/user}","branches_url":"https://api.github.com/repos/c960657/dd-agent/branches{/branch}","tags_url":"https://api.github.com/repos/c960657/dd-agent/tags","blobs_url":"https://api.github.com/repos/c960657/dd-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c960657/dd-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c960657/dd-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/c960657/dd-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c960657/dd-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/c960657/dd-agent/languages","stargazers_url":"https://api.github.com/repos/c960657/dd-agent/stargazers","contributors_url":"https://api.github.com/repos/c960657/dd-agent/contributors","subscribers_url":"https://api.github.com/repos/c960657/dd-agent/subscribers","subscription_url":"https://api.github.com/repos/c960657/dd-agent/subscription","commits_url":"https://api.github.com/repos/c960657/dd-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/c960657/dd-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/c960657/dd-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/c960657/dd-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/c960657/dd-agent/contents/{+path}","compare_url":"https://api.github.com/repos/c960657/dd-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c960657/dd-agent/merges","archive_url":"https://api.github.com/repos/c960657/dd-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c960657/dd-agent/downloads","issues_url":"https://api.github.com/repos/c960657/dd-agent/issues{/number}","pulls_url":"https://api.github.com/repos/c960657/dd-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/c960657/dd-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/c960657/dd-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c960657/dd-agent/labels{/name}","releases_url":"https://api.github.com/repos/c960657/dd-agent/releases{/id}","deployments_url":"https://api.github.com/repos/c960657/dd-agent/deployments","created_at":"2015-11-02T12:54:06Z","updated_at":"2016-04-21T13:58:55Z","pushed_at":"2016-04-24T16:41:25Z","git_url":"git://github.com/c960657/dd-agent.git","ssh_url":"git@github.com:c960657/dd-agent.git","clone_url":"https://github.com/c960657/dd-agent.git","svn_url":"https://github.com/c960657/dd-agent","homepage":"http://docs.datadoghq.com/","size":34384,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"3f695fdaaed2642ec223ffaea79d0d88185c65ed","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":1210071,"name":"dd-agent","full_name":"DataDog/dd-agent","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/dd-agent","description":"Datadog Agent","fork":false,"url":"https://api.github.com/repos/DataDog/dd-agent","forks_url":"https://api.github.com/repos/DataDog/dd-agent/forks","keys_url":"https://api.github.com/repos/DataDog/dd-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/dd-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/dd-agent/teams","hooks_url":"https://api.github.com/repos/DataDog/dd-agent/hooks","issue_events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/dd-agent/events","assignees_url":"https://api.github.com/repos/DataDog/dd-agent/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/dd-agent/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/dd-agent/tags","blobs_url":"https://api.github.com/repos/DataDog/dd-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/dd-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/dd-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/dd-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/dd-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/dd-agent/languages","stargazers_url":"https://api.github.com/repos/DataDog/dd-agent/stargazers","contributors_url":"https://api.github.com/repos/DataDog/dd-agent/contributors","subscribers_url":"https://api.github.com/repos/DataDog/dd-agent/subscribers","subscription_url":"https://api.github.com/repos/DataDog/dd-agent/subscription","commits_url":"https://api.github.com/repos/DataDog/dd-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/dd-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/dd-agent/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/dd-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/dd-agent/merges","archive_url":"https://api.github.com/repos/DataDog/dd-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/dd-agent/downloads","issues_url":"https://api.github.com/repos/DataDog/dd-agent/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/dd-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/dd-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/dd-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/dd-agent/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/dd-agent/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/dd-agent/deployments","created_at":"2010-12-31T03:02:47Z","updated_at":"2016-04-26T14:49:25Z","pushed_at":"2016-04-26T21:47:27Z","git_url":"git://github.com/DataDog/dd-agent.git","ssh_url":"git@github.com:DataDog/dd-agent.git","clone_url":"https://github.com/DataDog/dd-agent.git","svn_url":"https://github.com/DataDog/dd-agent","homepage":"http://docs.datadoghq.com/","size":44502,"stargazers_count":488,"watchers_count":488,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":441,"mirror_url":null,"open_issues_count":156,"forks":441,"open_issues":156,"watchers":488,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427"},"html":{"href":"https://github.com/DataDog/dd-agent/pull/2427"},"issue":{"href":"https://api.github.com/repos/DataDog/dd-agent/issues/2427"},"comments":{"href":"https://api.github.com/repos/DataDog/dd-agent/issues/2427/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/dd-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/dd-agent/pulls/2427/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/dd-agent/statuses/7fd2377fa9a3b9858bafb7fb8e23e8152457dabe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}