{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/runc/issues/1387","repository_url":"https://api.github.com/repos/opencontainers/runc","labels_url":"https://api.github.com/repos/opencontainers/runc/issues/1387/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/1387/comments","events_url":"https://api.github.com/repos/opencontainers/runc/issues/1387/events","html_url":"https://github.com/opencontainers/runc/pull/1387","id":216231992,"number":1387,"title":"Don't try to read freezer.state from the current directory","user":{"login":"avagin","id":1049830,"avatar_url":"https://avatars2.githubusercontent.com/u/1049830?v=3","gravatar_id":"","url":"https://api.github.com/users/avagin","html_url":"https://github.com/avagin","followers_url":"https://api.github.com/users/avagin/followers","following_url":"https://api.github.com/users/avagin/following{/other_user}","gists_url":"https://api.github.com/users/avagin/gists{/gist_id}","starred_url":"https://api.github.com/users/avagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avagin/subscriptions","organizations_url":"https://api.github.com/users/avagin/orgs","repos_url":"https://api.github.com/users/avagin/repos","events_url":"https://api.github.com/users/avagin/events{/privacy}","received_events_url":"https://api.github.com/users/avagin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-22T22:48:56Z","updated_at":"2017-04-18T04:04:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencontainers/runc/pulls/1387","html_url":"https://github.com/opencontainers/runc/pull/1387","diff_url":"https://github.com/opencontainers/runc/pull/1387.diff","patch_url":"https://github.com/opencontainers/runc/pull/1387.patch"},"body":"If we try to pause a container on the system without freezer cgroups,\r\nwe can found that runc tries to open ./freezer.state. It is obviously wrong.\r\n\r\n$ ./runc pause test\r\nno such directory for freezer.state\r\n\r\n$ echo FROZEN > freezer.state\r\n$ ./runc pause test\r\ncontainer not running or created: paused\r\n\r\nSigned-off-by: Andrei Vagin <avagin@virtuozzo.com>"},"comment":{"url":"https://api.github.com/repos/opencontainers/runc/issues/comments/294669834","html_url":"https://github.com/opencontainers/runc/pull/1387#issuecomment-294669834","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/1387","id":294669834,"user":{"login":"avagin","id":1049830,"avatar_url":"https://avatars2.githubusercontent.com/u/1049830?v=3","gravatar_id":"","url":"https://api.github.com/users/avagin","html_url":"https://github.com/avagin","followers_url":"https://api.github.com/users/avagin/followers","following_url":"https://api.github.com/users/avagin/following{/other_user}","gists_url":"https://api.github.com/users/avagin/gists{/gist_id}","starred_url":"https://api.github.com/users/avagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avagin/subscriptions","organizations_url":"https://api.github.com/users/avagin/orgs","repos_url":"https://api.github.com/users/avagin/repos","events_url":"https://api.github.com/users/avagin/events{/privacy}","received_events_url":"https://api.github.com/users/avagin/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T04:04:14Z","updated_at":"2017-04-18T04:04:14Z","body":"@dqminh The difference is in a case when a current directory contains a freezer.state file. Without this changes, you can write anything in this file and runc will use it."}}
{"actor":{"display_login":"avagin"}}