{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/7113","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/7113/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/7113/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/7113/events","html_url":"https://github.com/rancher/rancher/issues/7113","id":196273404,"number":7113,"title":"Rancher breaking \"hostname -f\"","user":{"login":"chickahoona","id":8075146,"avatar_url":"https://avatars.githubusercontent.com/u/8075146?v=3","gravatar_id":"","url":"https://api.github.com/users/chickahoona","html_url":"https://github.com/chickahoona","followers_url":"https://api.github.com/users/chickahoona/followers","following_url":"https://api.github.com/users/chickahoona/following{/other_user}","gists_url":"https://api.github.com/users/chickahoona/gists{/gist_id}","starred_url":"https://api.github.com/users/chickahoona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chickahoona/subscriptions","organizations_url":"https://api.github.com/users/chickahoona/orgs","repos_url":"https://api.github.com/users/chickahoona/repos","events_url":"https://api.github.com/users/chickahoona/events{/privacy}","received_events_url":"https://api.github.com/users/chickahoona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"leodotcloud","id":19392926,"avatar_url":"https://avatars.githubusercontent.com/u/19392926?v=3","gravatar_id":"","url":"https://api.github.com/users/leodotcloud","html_url":"https://github.com/leodotcloud","followers_url":"https://api.github.com/users/leodotcloud/followers","following_url":"https://api.github.com/users/leodotcloud/following{/other_user}","gists_url":"https://api.github.com/users/leodotcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leodotcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leodotcloud/subscriptions","organizations_url":"https://api.github.com/users/leodotcloud/orgs","repos_url":"https://api.github.com/users/leodotcloud/repos","events_url":"https://api.github.com/users/leodotcloud/events{/privacy}","received_events_url":"https://api.github.com/users/leodotcloud/received_events","type":"User","site_admin":false},"assignees":[{"login":"leodotcloud","id":19392926,"avatar_url":"https://avatars.githubusercontent.com/u/19392926?v=3","gravatar_id":"","url":"https://api.github.com/users/leodotcloud","html_url":"https://github.com/leodotcloud","followers_url":"https://api.github.com/users/leodotcloud/followers","following_url":"https://api.github.com/users/leodotcloud/following{/other_user}","gists_url":"https://api.github.com/users/leodotcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leodotcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leodotcloud/subscriptions","organizations_url":"https://api.github.com/users/leodotcloud/orgs","repos_url":"https://api.github.com/users/leodotcloud/repos","events_url":"https://api.github.com/users/leodotcloud/events{/privacy}","received_events_url":"https://api.github.com/users/leodotcloud/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-12-18T12:37:05Z","updated_at":"2016-12-20T22:17:36Z","closed_at":null,"body":"**Rancher Version:**\r\n1.2.0\r\n\r\n**Docker Version:**\r\nDocker version 1.12.5, build 7392c3b\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\nUbuntu 16.04 LTS\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\nsingle node rancher with internal DB\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\nCattle\r\n\r\n**Steps to Reproduce:**\r\nCreate a Rancher stack with the following composer content:\r\n```\r\ntest:\r\n  image: ubuntu:14.04\r\n  hostname: mail\r\n  domainname: example.com\r\n  stdin_open: true\r\n  tty: true\r\n```\r\nExecute shell and type the following command:\r\n```hostname -f```\r\n\r\n**Results:** \r\nYou will see something like:\r\n```hostname: Name or service not known```\r\n\r\n(this happens because rancher doesnt update /etc/hosts proper)\r\n\r\n**Expected:**\r\n\r\nI would expect to see something like\r\n```mail.example.com```\r\n\r\n(If you run the same composer file with docker-compose it works)\r\n\r\nAlot of scripts / docker images rely that this command works and use it to configure services and other things.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/268375459","html_url":"https://github.com/rancher/rancher/issues/7113#issuecomment-268375459","issue_url":"https://api.github.com/repos/rancher/rancher/issues/7113","id":268375459,"user":{"login":"chickahoona","id":8075146,"avatar_url":"https://avatars.githubusercontent.com/u/8075146?v=3","gravatar_id":"","url":"https://api.github.com/users/chickahoona","html_url":"https://github.com/chickahoona","followers_url":"https://api.github.com/users/chickahoona/followers","following_url":"https://api.github.com/users/chickahoona/following{/other_user}","gists_url":"https://api.github.com/users/chickahoona/gists{/gist_id}","starred_url":"https://api.github.com/users/chickahoona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chickahoona/subscriptions","organizations_url":"https://api.github.com/users/chickahoona/orgs","repos_url":"https://api.github.com/users/chickahoona/repos","events_url":"https://api.github.com/users/chickahoona/events{/privacy}","received_events_url":"https://api.github.com/users/chickahoona/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T22:17:36Z","updated_at":"2016-12-20T22:17:36Z","body":"No problem. Im glad that you digged through and can now reproduce the problem."}}
{"actor":{"display_login":"chickahoona"}}