{"action":"created","issue":{"url":"https://api.github.com/repos/dmtcp/dmtcp/issues/189","labels_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/189/comments","events_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/189/events","html_url":"https://github.com/dmtcp/dmtcp/pull/189","id":106278662,"number":189,"title":"Allow dmtcp_restart to be invoked by root.","user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-14T06:25:06Z","updated_at":"2015-09-24T21:18:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/189","html_url":"https://github.com/dmtcp/dmtcp/pull/189","diff_url":"https://github.com/dmtcp/dmtcp/pull/189.diff","patch_url":"https://github.com/dmtcp/dmtcp/pull/189.patch"},"body":"- Previously, the --run-as-root flag was needed to allow this.\r\n- The --run-as-root flag is still needed, if the uid of the ckpt image\r\n  doesn't match the user running the process.\r\n\r\nIn this code, a warning is issued if the user runs dmtcp_restart as root, and if ``--run-as-root`` was not set.  Previously, it would abort.\r\n\r\nThe flag ``--run-as-root`` may not the right name now.  What should we change it to?\r\n\r\nRight now, the warning gets printed even if ``--quiet`` was requested.  Should we print nothing if ``--quiet`` was requested, or only if ``--run-as-root`` was requested?\r\n\r\n@karya0, this is the change to DMTCP that you had requested.  This is just a rough version.  If you tell me how you would prefer to change this, I'm happy to do so."},"comment":{"url":"https://api.github.com/repos/dmtcp/dmtcp/issues/comments/143053622","html_url":"https://github.com/dmtcp/dmtcp/pull/189#issuecomment-143053622","issue_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/189","id":143053622,"user":{"login":"rohgarg","id":1672104,"avatar_url":"https://avatars.githubusercontent.com/u/1672104?v=3","gravatar_id":"","url":"https://api.github.com/users/rohgarg","html_url":"https://github.com/rohgarg","followers_url":"https://api.github.com/users/rohgarg/followers","following_url":"https://api.github.com/users/rohgarg/following{/other_user}","gists_url":"https://api.github.com/users/rohgarg/gists{/gist_id}","starred_url":"https://api.github.com/users/rohgarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohgarg/subscriptions","organizations_url":"https://api.github.com/users/rohgarg/orgs","repos_url":"https://api.github.com/users/rohgarg/repos","events_url":"https://api.github.com/users/rohgarg/events{/privacy}","received_events_url":"https://api.github.com/users/rohgarg/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T21:18:29Z","updated_at":"2015-09-24T21:18:29Z","body":"Looks good to me."}}