{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/specs/issues/40","labels_url":"https://api.github.com/repos/opencontainers/specs/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/40/comments","events_url":"https://api.github.com/repos/opencontainers/specs/issues/40/events","html_url":"https://github.com/opencontainers/specs/issues/40","id":92226170,"number":40,"title":"linux: specify a state pid/filelock for lifecycle","user":{"login":"philips","id":33544,"avatar_url":"https://avatars.githubusercontent.com/u/33544?v=3","gravatar_id":"","url":"https://api.github.com/users/philips","html_url":"https://github.com/philips","followers_url":"https://api.github.com/users/philips/followers","following_url":"https://api.github.com/users/philips/following{/other_user}","gists_url":"https://api.github.com/users/philips/gists{/gist_id}","starred_url":"https://api.github.com/users/philips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips/subscriptions","organizations_url":"https://api.github.com/users/philips/orgs","repos_url":"https://api.github.com/users/philips/repos","events_url":"https://api.github.com/users/philips/events{/privacy}","received_events_url":"https://api.github.com/users/philips/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opencontainers/specs/labels/platforms/linux","name":"platforms/linux","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opencontainers/specs/milestones/2","html_url":"https://github.com/opencontainers/specs/milestones/draft-next","labels_url":"https://api.github.com/repos/opencontainers/specs/milestones/2/labels","id":1188102,"number":2,"title":"draft-next","description":"anything targeted for after draft.","creator":{"login":"philips","id":33544,"avatar_url":"https://avatars.githubusercontent.com/u/33544?v=3","gravatar_id":"","url":"https://api.github.com/users/philips","html_url":"https://github.com/philips","followers_url":"https://api.github.com/users/philips/followers","following_url":"https://api.github.com/users/philips/following{/other_user}","gists_url":"https://api.github.com/users/philips/gists{/gist_id}","starred_url":"https://api.github.com/users/philips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips/subscriptions","organizations_url":"https://api.github.com/users/philips/orgs","repos_url":"https://api.github.com/users/philips/repos","events_url":"https://api.github.com/users/philips/events{/privacy}","received_events_url":"https://api.github.com/users/philips/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2015-06-30T23:10:23Z","updated_at":"2015-08-03T18:40:31Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-06-30T23:44:45Z","updated_at":"2015-08-30T20:12:43Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/opencontainers/specs/issues/comments/136180186","html_url":"https://github.com/opencontainers/specs/issues/40#issuecomment-136180186","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/40","id":136180186,"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":"2015-08-30T20:12:43Z","updated_at":"2015-08-30T20:12:43Z","body":"On Wed, Jul 01, 2015 at 09:40:09AM -0700, Michael Crosby wrote:\n> This is for when we do checkpoint/restore, updates, or exec.  All\n> these actions are done by external processes.\n\nWith the minimal-state approach that's close to landing via #87, I\ndon't think we'll need any locking on the state file.  Things like\n“are we frozen?” will be decided by direct syscalls (e.g. each client\nwill read /sys/fs/cgroup/freezer/…/freezer.state like runC is doing\nwith opencontainers/runc#218).  The state-spec version, container ID,\nand application PID (and maybe some sort of root path) seem like\nattributes that will be stable throughout the life of an application.\n\nIf we split container and application manipulation into their own\ncommands [1] the application PID might be more fluxy.  We can revisit\nlocking if/when that happens, but until then I don't think we need it.\n\n[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/kPWu-ZavQjs\n"}}