{"action":"created","issue":{"url":"https://api.github.com/repos/tianon/gosu/issues/3","labels_url":"https://api.github.com/repos/tianon/gosu/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tianon/gosu/issues/3/comments","events_url":"https://api.github.com/repos/tianon/gosu/issues/3/events","html_url":"https://github.com/tianon/gosu/issues/3","id":49611472,"number":3,"title":"HOME doesn't get set properly","user":{"login":"klaemo","id":778624,"avatar_url":"https://avatars.githubusercontent.com/u/778624?v=3","gravatar_id":"","url":"https://api.github.com/users/klaemo","html_url":"https://github.com/klaemo","followers_url":"https://api.github.com/users/klaemo/followers","following_url":"https://api.github.com/users/klaemo/following{/other_user}","gists_url":"https://api.github.com/users/klaemo/gists{/gist_id}","starred_url":"https://api.github.com/users/klaemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaemo/subscriptions","organizations_url":"https://api.github.com/users/klaemo/orgs","repos_url":"https://api.github.com/users/klaemo/repos","events_url":"https://api.github.com/users/klaemo/events{/privacy}","received_events_url":"https://api.github.com/users/klaemo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-20T20:04:41Z","updated_at":"2015-03-24T18:11:40Z","closed_at":null,"body":"Hey,\r\nit seems like HOME doesn't get set properly. See the following example (I tried it in a `debian/wheezy` docker container)\r\n\r\n```bash\r\nuseradd -d /var/lib/couchdb couchdb\r\n```\r\n\r\nthe user is set up correctly it seems:\r\n```bash\r\n$ su couchdb -c env\r\n[...]\r\nUSER=couchdb\r\nHOME=/var/lib/couchdb\r\n[...]\r\n```\r\n\r\nbut gosu doesn't set HOME correctly\r\n```bash\r\n$ gosu couchdb env\r\n[...]\r\nUSER=couchdb\r\nHOME=/root\r\n[...]\r\n```\r\n\r\nAm I missing something?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/tianon/gosu/issues/comments/85627839","html_url":"https://github.com/tianon/gosu/issues/3#issuecomment-85627839","issue_url":"https://api.github.com/repos/tianon/gosu/issues/3","id":85627839,"user":{"login":"tianon","id":161631,"avatar_url":"https://avatars.githubusercontent.com/u/161631?v=3","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T18:11:40Z","updated_at":"2015-03-24T18:11:40Z","body":"Ok, I'm convinced.  Will be making a fix for this shortly and cutting a new release."}}