{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/673","labels_url":"https://api.github.com/repos/lxc/lxc/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/673/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/673/events","html_url":"https://github.com/lxc/lxc/pull/673","id":110156928,"number":673,"title":"Added a new 'cgroup' hook.","user":{"login":"roadrunner2","id":133040,"avatar_url":"https://avatars.githubusercontent.com/u/133040?v=3","gravatar_id":"","url":"https://api.github.com/users/roadrunner2","html_url":"https://github.com/roadrunner2","followers_url":"https://api.github.com/users/roadrunner2/followers","following_url":"https://api.github.com/users/roadrunner2/following{/other_user}","gists_url":"https://api.github.com/users/roadrunner2/gists{/gist_id}","starred_url":"https://api.github.com/users/roadrunner2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadrunner2/subscriptions","organizations_url":"https://api.github.com/users/roadrunner2/orgs","repos_url":"https://api.github.com/users/roadrunner2/repos","events_url":"https://api.github.com/users/roadrunner2/events{/privacy}","received_events_url":"https://api.github.com/users/roadrunner2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-07T05:58:13Z","updated_at":"2015-11-17T23:36:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lxc/lxc/pulls/673","html_url":"https://github.com/lxc/lxc/pull/673","diff_url":"https://github.com/lxc/lxc/pull/673.diff","patch_url":"https://github.com/lxc/lxc/pull/673.patch"},"body":"This hook runs in the host after all host-side initialization is done,\r\nright before triggering the final init in the child. As such it runs\r\nshortly before the 'start' hook.\r\n\r\nThe motivation/need for this hook is because we need to fix up the\r\ncgroups as our containers have some special requirements regarding\r\nownership and permissions of some of the entries. The hook as\r\npresented here is actually more general in the sense that it runs as\r\nalmost the last thing on the host side before the container is booted,\r\nbut I couldn't think of a good name for it (since start and pre-start are\r\nalready taken) - suggestions welcome.\r\n\r\nLastly, the Japanese translation is left as FIXME right now, but if the\r\nrest of this patch is ok I can provide one."},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/157545508","html_url":"https://github.com/lxc/lxc/pull/673#issuecomment-157545508","issue_url":"https://api.github.com/repos/lxc/lxc/issues/673","id":157545508,"user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T23:36:14Z","updated_at":"2015-11-17T23:36:14Z","body":"This pull request didn't trigger Jenkins as its author isn't in the whitelist.\n\nTo have this branch tested by Jenkins, use the \"ok to test\" command.\nTo have a one time test done, use the \"test this please\" command.\n\nCommands are simple Github comments of the format: \"jenkins: COMMAND\""}}