{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/specs/issues/298","labels_url":"https://api.github.com/repos/opencontainers/specs/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/298/comments","events_url":"https://api.github.com/repos/opencontainers/specs/issues/298/events","html_url":"https://github.com/opencontainers/specs/pull/298","id":126104608,"number":298,"title":"runtime-config-linux: Separate mknod from cgroups","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opencontainers/specs/milestones/4","html_url":"https://github.com/opencontainers/specs/milestones/v0.3.0","labels_url":"https://api.github.com/repos/opencontainers/specs/milestones/4/labels","id":1485748,"number":4,"title":"v0.3.0","description":"","creator":{"login":"vbatts","id":67049,"avatar_url":"https://avatars.githubusercontent.com/u/67049?v=3","gravatar_id":"","url":"https://api.github.com/users/vbatts","html_url":"https://github.com/vbatts","followers_url":"https://api.github.com/users/vbatts/followers","following_url":"https://api.github.com/users/vbatts/following{/other_user}","gists_url":"https://api.github.com/users/vbatts/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatts/subscriptions","organizations_url":"https://api.github.com/users/vbatts/orgs","repos_url":"https://api.github.com/users/vbatts/repos","events_url":"https://api.github.com/users/vbatts/events{/privacy}","received_events_url":"https://api.github.com/users/vbatts/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2016-01-05T20:10:20Z","updated_at":"2016-01-20T22:45:55Z","due_on":"2016-02-03T05:00:00Z","closed_at":null},"comments":7,"created_at":"2016-01-12T05:52:26Z","updated_at":"2016-01-25T20:27:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/298","html_url":"https://github.com/opencontainers/specs/pull/298","diff_url":"https://github.com/opencontainers/specs/pull/298.diff","patch_url":"https://github.com/opencontainers/specs/pull/298.patch"},"body":"This is #99 rebased onto the current master, because [the idea seems\nto have new life][0].  It leaves mknod entries in **`linux.devices`**\nand moves cgroups entries into **`linux.resources.devices`**.  Quiet\nthread on the issue [here][1].\n\nThis makes it easy to distinguish between configs that call for cgroup\nadjustments (which have linux.resources entries) from those that\ndon't.  Without this split, folks interested in making that\ndistinction would have to parse the device section to determine if it\nincluded cgroup changes.  This will also make it easy to drop either\nportion ([mknod][2] or [cgroups][3]) independently of the other if the\nproject decides to do so.\n\nUsing seperate sections for mknod and cgroups also allows us to avoid\nthe complicated validation rules needed for the combined format\nmknod/cgroup (#101).\n\nNow that there is a section specific to supplying devices, I [shifted\nthe default device listing over from config-linux][5].  The `/dev/ptmx`\nentry is a bit awkward, since it's not a device, but it seemed to fit\nbetter over here.  But I would also be fine leaving it with the other\nmounts in config-linux.\n\nThe reference links are sorted into two blocks, with kernel-doc links\nsorted alphabetically followed by man pages sorted alphabetically by\nsection.\n\n[0]: http://ircbot.wl.linuxfoundation.org/meetings/opencontainers/2016/opencontainers.2016-01-06-18.03.log.html#l-36\n[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/y_Fsa2_jJaM\n[2]: https://github.com/opencontainers/specs/pull/98\n[3]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/qWHoKs8Fsrk\n[5]: https://github.com/opencontainers/specs/pull/171#discussion_r41190655"},"comment":{"url":"https://api.github.com/repos/opencontainers/specs/issues/comments/174651730","html_url":"https://github.com/opencontainers/specs/pull/298#issuecomment-174651730","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/298","id":174651730,"user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T20:27:46Z","updated_at":"2016-01-25T20:27:46Z","body":"On Mon, Jan 25, 2016 at 11:57:44AM -0800, Mrunal Patel wrote:\n> Needs rebase.\n\nI'll wait until #284 lands.\n"}}