{"action":"created","issue":{"url":"https://api.github.com/repos/appc/spec/issues/336","labels_url":"https://api.github.com/repos/appc/spec/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/appc/spec/issues/336/comments","events_url":"https://api.github.com/repos/appc/spec/issues/336/events","html_url":"https://github.com/appc/spec/issues/336","id":72914225,"number":336,"title":"OS-SPEC not specific enough about what apps will experience in-container","user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-04T03:49:26Z","updated_at":"2015-05-06T05:53:59Z","closed_at":null,"body":"OS-SPEC says nothing about /etc/hostname, /etc/hosts, /etc/mtab, or /etc/resolv.conf.  These are pretty important parts of most Linux systems, and hard to do some very fundamental things without.  More generally, this spec does not define enough (IMO) of what the app will experience when it runs.\r\n\r\n- What will be reported for kernel version?  I assume simply the host's.\r\n- What will be reported as hostname?\r\n- Can it rely on /tmp? (assuming that comes from the image)\r\n- Are cgroups exposed into the container (assuming not)?\r\n- What assumptions can I make from /proc/self/cgroup?\r\n- What about ulimits and sysctls?\r\n\r\nThere are many facets of running on linux that (IMO) we should pin down."},"comment":{"url":"https://api.github.com/repos/appc/spec/issues/comments/99332113","html_url":"https://github.com/appc/spec/issues/336#issuecomment-99332113","issue_url":"https://api.github.com/repos/appc/spec/issues/336","id":99332113,"user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T05:53:59Z","updated_at":"2015-05-06T05:53:59Z","body":"I am a bit bandwidth constrained at the moment, so I will not have time to kick off a sub-spec.  I know this is a place where @vmarmol and @rjnagal have already put some more detailed thought, not sure if any artifacts remain.\r\n\r\nI do think that we need to say something about basic DNS - for example, it is a cornerstone of kubernetes service discovery to be able to inject DNS config into containers at startup time.  Similarly we should say SOMETHING about hostname or else make it a configurable.  Ulimits and sysctls are a really thorny problem - would be nice to drive some canonical list of what works and doesn't for namespaces.  Maybe loop in some of the Joyent world for a cross check on \"runs linux containers but isn't linux\"."}}