{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1038","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1038/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1038/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1038/events","html_url":"https://github.com/weaveworks/weave/pull/1038","id":91779043,"number":1038,"title":"Disable hostname derivation when container name is too long","user":{"login":"awh","id":1504438,"avatar_url":"https://avatars.githubusercontent.com/u/1504438?v=3","gravatar_id":"","url":"https://api.github.com/users/awh","html_url":"https://github.com/awh","followers_url":"https://api.github.com/users/awh/followers","following_url":"https://api.github.com/users/awh/following{/other_user}","gists_url":"https://api.github.com/users/awh/gists{/gist_id}","starred_url":"https://api.github.com/users/awh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awh/subscriptions","organizations_url":"https://api.github.com/users/awh/orgs","repos_url":"https://api.github.com/users/awh/repos","events_url":"https://api.github.com/users/awh/events{/privacy}","received_events_url":"https://api.github.com/users/awh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-29T11:32:11Z","updated_at":"2015-06-29T13:52:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weaveworks/weave/pulls/1038","html_url":"https://github.com/weaveworks/weave/pull/1038","diff_url":"https://github.com/weaveworks/weave/pull/1038.diff","patch_url":"https://github.com/weaveworks/weave/pull/1038.patch"},"body":"Fixes #1006."},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/116667509","html_url":"https://github.com/weaveworks/weave/pull/1038#issuecomment-116667509","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1038","id":116667509,"user":{"login":"awh","id":1504438,"avatar_url":"https://avatars.githubusercontent.com/u/1504438?v=3","gravatar_id":"","url":"https://api.github.com/users/awh","html_url":"https://github.com/awh","followers_url":"https://api.github.com/users/awh/followers","following_url":"https://api.github.com/users/awh/following{/other_user}","gists_url":"https://api.github.com/users/awh/gists{/gist_id}","starred_url":"https://api.github.com/users/awh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awh/subscriptions","organizations_url":"https://api.github.com/users/awh/orgs","repos_url":"https://api.github.com/users/awh/repos","events_url":"https://api.github.com/users/awh/events{/privacy}","received_events_url":"https://api.github.com/users/awh/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T13:52:11Z","updated_at":"2015-06-29T13:52:11Z","body":"OK I've not traced it through completely because it's quite convoluted, but although the `runconfig.Config` at the top level has separate `Hostname` and `Domainname` fields, by the time it wends its way into libcontainer's `config.Config` (via a serialisation-over-fd step in the middle, hence the difficulty in tracing) the `Domainname` field is missing from the struct entirely and the `Hostname` field (which I'm *assuming* by now contains the FQDN) gets fed straight to `syscall.Sethostname`. Do you want me to raise it with Docker @rade?"}}