{"action":"created","issue":{"url":"https://api.github.com/repos/TheNewNormal/corectl/issues/74","repository_url":"https://api.github.com/repos/TheNewNormal/corectl","labels_url":"https://api.github.com/repos/TheNewNormal/corectl/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/TheNewNormal/corectl/issues/74/comments","events_url":"https://api.github.com/repos/TheNewNormal/corectl/issues/74/events","html_url":"https://github.com/TheNewNormal/corectl/issues/74","id":158952745,"number":74,"title":"/var/lib/rkt needs to belong to rkt group","user":{"login":"so0k","id":1762599,"avatar_url":"https://avatars.githubusercontent.com/u/1762599?v=3","gravatar_id":"","url":"https://api.github.com/users/so0k","html_url":"https://github.com/so0k","followers_url":"https://api.github.com/users/so0k/followers","following_url":"https://api.github.com/users/so0k/following{/other_user}","gists_url":"https://api.github.com/users/so0k/gists{/gist_id}","starred_url":"https://api.github.com/users/so0k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/so0k/subscriptions","organizations_url":"https://api.github.com/users/so0k/orgs","repos_url":"https://api.github.com/users/so0k/repos","events_url":"https://api.github.com/users/so0k/events{/privacy}","received_events_url":"https://api.github.com/users/so0k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TheNewNormal/corectl/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-07T15:27:10Z","updated_at":"2016-06-11T11:58:58Z","closed_at":null,"body":"Thanks for the awesome work, I'm using this to run a CoreOS instance under xhyve on OSX (I merged the sample cloud-init scripts here with the cloud-init script from coreos-osx).\r\n\r\nI was playing with `rkt` and was getting tired of being required to add \"sudo\" in front of it each time...\r\n\r\nI confirmed the `rkt` group existed:\r\n```\r\ngetent group | cut -d: -f1 | grep rkt\r\n```\r\n\r\nI ensured `core` user was a member of `rkt` group (by adding again):\r\n```\r\nsudo gpasswd -a core rkt\r\n```\r\n\r\nI verified that `rkt` was in the list of groups current user belonged to:\r\n```\r\nid -Gn\r\n```\r\n\r\nFinally, I verified the permissions on the `/var/lib/rkt` path, and realized I had to change the group:\r\n```\r\nsudo chgrp -R rkt /var/lib/rkt/\r\n```\r\n\r\nAt this point I was able to run `rkt` without the sudo command. I've submitted a pull request to the cloud-init file of coreos-osx to fix this. \r\nhttps://github.com/TheNewNormal/coreos-osx/pull/70\r\n\r\nHowever, it may be better to refer to [the official rkt distribution script](https://github.com/coreos/rkt/blob/master/dist/scripts/setup-data-dir.sh)"},"comment":{"url":"https://api.github.com/repos/TheNewNormal/corectl/issues/comments/225356393","html_url":"https://github.com/TheNewNormal/corectl/issues/74#issuecomment-225356393","issue_url":"https://api.github.com/repos/TheNewNormal/corectl/issues/74","id":225356393,"user":{"login":"AntonioMeireles","id":743527,"avatar_url":"https://avatars.githubusercontent.com/u/743527?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioMeireles","html_url":"https://github.com/AntonioMeireles","followers_url":"https://api.github.com/users/AntonioMeireles/followers","following_url":"https://api.github.com/users/AntonioMeireles/following{/other_user}","gists_url":"https://api.github.com/users/AntonioMeireles/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioMeireles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioMeireles/subscriptions","organizations_url":"https://api.github.com/users/AntonioMeireles/orgs","repos_url":"https://api.github.com/users/AntonioMeireles/repos","events_url":"https://api.github.com/users/AntonioMeireles/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioMeireles/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T11:58:58Z","updated_at":"2016-06-11T11:58:58Z","body":"@so0k, 0.5.10 (just out) fixed the entropy thing. Thanks, once again & a great weekend!"}}
{"actor":{"display_login":"AntonioMeireles"}}