{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/mysql/issues/92","labels_url":"https://api.github.com/repos/openshift/mysql/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/openshift/mysql/issues/92/comments","events_url":"https://api.github.com/repos/openshift/mysql/issues/92/events","html_url":"https://github.com/openshift/mysql/pull/92","id":105581192,"number":92,"title":"Add support for atomic command without systemd unit file","user":{"login":"hhorak","id":1405588,"avatar_url":"https://avatars.githubusercontent.com/u/1405588?v=3","gravatar_id":"","url":"https://api.github.com/users/hhorak","html_url":"https://github.com/hhorak","followers_url":"https://api.github.com/users/hhorak/followers","following_url":"https://api.github.com/users/hhorak/following{/other_user}","gists_url":"https://api.github.com/users/hhorak/gists{/gist_id}","starred_url":"https://api.github.com/users/hhorak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhorak/subscriptions","organizations_url":"https://api.github.com/users/hhorak/orgs","repos_url":"https://api.github.com/users/hhorak/repos","events_url":"https://api.github.com/users/hhorak/events{/privacy}","received_events_url":"https://api.github.com/users/hhorak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-09T11:52:01Z","updated_at":"2015-09-11T11:22:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/mysql/pulls/92","html_url":"https://github.com/openshift/mysql/pull/92","diff_url":"https://github.com/openshift/mysql/pull/92.diff","patch_url":"https://github.com/openshift/mysql/pull/92.patch"},"body":"This is reworked PR, similar to https://github.com/openshift/mysql/pull/83 but with these changes:\r\n* no systemd unit file is created, because of https://github.com/projectatomic/atomic/issues/151\r\n* atomic labels are much simpler\r\n* options for docker container (MYSQL_USER and stuff) are not passed by `OPTx` variables, but instead all unknown options from `atomic install` are passed to `docker run` command\r\n* `atomic run <container>` is used to start the created container\r\n* `UNINSTALL` label doesn't have to be used, since only default action is enough"},"comment":{"url":"https://api.github.com/repos/openshift/mysql/issues/comments/139519168","html_url":"https://github.com/openshift/mysql/pull/92#issuecomment-139519168","issue_url":"https://api.github.com/repos/openshift/mysql/issues/92","id":139519168,"user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T11:22:32Z","updated_at":"2015-09-11T11:22:32Z","body":"That would actually make it less safe.  Basically would allow the process you are sticking into the container to have root group access within the container.  It would probably be ok to add the GID of mariadb though.\r\n\r\n--user 1000:MARIADBGROUP"}}