{"action":"closed","issue":{"url":"https://api.github.com/repos/google/grr/issues/339","repository_url":"https://api.github.com/repos/google/grr","labels_url":"https://api.github.com/repos/google/grr/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/google/grr/issues/339/comments","events_url":"https://api.github.com/repos/google/grr/issues/339/events","html_url":"https://github.com/google/grr/issues/339","id":135324798,"number":339,"title":"Incorrect Nanny error on Linux","user":{"login":"tweksteen","id":109376,"avatar_url":"https://avatars.githubusercontent.com/u/109376?v=3","gravatar_id":"","url":"https://api.github.com/users/tweksteen","html_url":"https://github.com/tweksteen","followers_url":"https://api.github.com/users/tweksteen/followers","following_url":"https://api.github.com/users/tweksteen/following{/other_user}","gists_url":"https://api.github.com/users/tweksteen/gists{/gist_id}","starred_url":"https://api.github.com/users/tweksteen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweksteen/subscriptions","organizations_url":"https://api.github.com/users/tweksteen/orgs","repos_url":"https://api.github.com/users/tweksteen/repos","events_url":"https://api.github.com/users/tweksteen/events{/privacy}","received_events_url":"https://api.github.com/users/tweksteen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/grr/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/google/grr/labels/Priority-Low","name":"Priority-Low","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"destijl","id":1291767,"avatar_url":"https://avatars.githubusercontent.com/u/1291767?v=3","gravatar_id":"","url":"https://api.github.com/users/destijl","html_url":"https://github.com/destijl","followers_url":"https://api.github.com/users/destijl/followers","following_url":"https://api.github.com/users/destijl/following{/other_user}","gists_url":"https://api.github.com/users/destijl/gists{/gist_id}","starred_url":"https://api.github.com/users/destijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destijl/subscriptions","organizations_url":"https://api.github.com/users/destijl/orgs","repos_url":"https://api.github.com/users/destijl/repos","events_url":"https://api.github.com/users/destijl/events{/privacy}","received_events_url":"https://api.github.com/users/destijl/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-22T06:00:18Z","updated_at":"2016-03-04T01:08:26Z","closed_at":"2016-03-04T01:08:26Z","body":"On Linux, when the client is killed by the nanny, the error message returned to the server is 'Nanny starting' which is incorrect.\r\n\r\nWhen the client starts, the nanny thread overwrite the status file *before* reading it to get the previous crash message.\r\n\r\nSee the [NannyThread](https://github.com/google/grr/blob/master/client/client_utils_linux.py#L137) class and [OnStartup](https://github.com/google/grr/blob/master/client/comms.py#L982) method.\r\n\r\n"}}