{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/216","labels_url":"https://api.github.com/repos/lxc/lxd/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/216/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/216/events","html_url":"https://github.com/lxc/lxd/issues/216","id":58455911,"number":216,"title":"Creating container...error: shared's user has no subuids","user":{"login":"guillaumevincent","id":943762,"avatar_url":"https://avatars.githubusercontent.com/u/943762?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumevincent","html_url":"https://github.com/guillaumevincent","followers_url":"https://api.github.com/users/guillaumevincent/followers","following_url":"https://api.github.com/users/guillaumevincent/following{/other_user}","gists_url":"https://api.github.com/users/guillaumevincent/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumevincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumevincent/subscriptions","organizations_url":"https://api.github.com/users/guillaumevincent/orgs","repos_url":"https://api.github.com/users/guillaumevincent/repos","events_url":"https://api.github.com/users/guillaumevincent/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumevincent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-21T11:19:27Z","updated_at":"2015-02-21T13:52:55Z","closed_at":null,"body":"Hi,\r\n\r\nI try to follow the first step without any success.\r\n\r\n```console\r\noslab@oslab:~$ lxc launch ubuntu\r\nCreating container...error: shared's user has no subuids\r\n```\r\nI installed lxd (v0.1) from ppa on Ubuntu 14.04.2 LTS  dedicated server \r\nI'm running lxc (v0.1)\r\n\r\nother info :\r\n\r\n```console\r\noslab@oslab:~$ uname -a\r\nLinux oslab 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\noslab@oslab:~$ cat /etc/subuid\r\noslab:165536:65536\r\noslab@oslab:~$ cat /etc/subgid\r\noslab:165536:65536\r\noslab@oslab:~$ lxc-start --name ubuntu\r\nlxc-start: lxc_start.c: main: 295 Executing '/sbin/init' with no configuration file may crash the host\r\noslab@oslab:~$ lxc-start --name ubuntu -f config\r\nlxc-start: lxc_start.c: main: 252 Failed to load rcfile\r\n```\r\n\r\n```console\r\n-rw-r--r--  1 root root     19 Feb 21 09:38 subgid\r\n-rw-r--r--  1 root root     19 Feb 21 09:38 subuid\r\n```\r\n\r\nwhat I'm doing wrong ?\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/75372545","html_url":"https://github.com/lxc/lxd/issues/216#issuecomment-75372545","issue_url":"https://api.github.com/repos/lxc/lxd/issues/216","id":75372545,"user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T13:52:55Z","updated_at":"2015-02-21T13:52:55Z","body":"Hi,\r\n\r\nWe'll be updating the packages to do that automatically soon, but currently you need to add a uid and gid allocation for the root user in /etc/subuid and /etc/subgid.\r\n\r\nTypically the following line in both files will do the trick:\r\n    root:165536:65536"}}