<div dir="ltr">I'm trying to run LXC containers on ubuntu mate 15.10 on a raspberry pi 2. The LXD and LXD-client versions are 2.0.0.rc9. Whenever I try to launch a container, I get this error:<br><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">error: Error calling 'lxd forkstart test02 /var/lib/lxd/containers /var/log/lxd/test02/lxc.conf': err='exit status 1'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Try `lxc info --show-log test02` for more info</span></p></div><div><br></div><div>Any idea what's wrong? the container log shows few errors:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012147.844 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012147.844 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012312.827 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012312.828 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.000 INFO lxc_start - start.c:lxc_check_inherited:251 - closed inherited fd 3</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.001 INFO lxc_start - start.c:lxc_check_inherited:251 - closed inherited fd 9</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.019 INFO lxc_container - lxccontainer.c:do_lxcapi_start:797 - Attempting to set proc title to [lxc monitor] /var/lib/lxd/containers test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.020 INFO lxc_utils - utils.c:setproctitle:1460 - setting cmdline failed - Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.023 INFO lxc_start - start.c:lxc_check_inherited:251 - closed inherited fd 9</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.025 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver nop</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.026 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for reject_force_umount action 0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style=""></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .[all].</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for kexec_load action 327681</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.027 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for open_by_handle_at action 327681</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for init_module action 327681</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for finit_module action 327681</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.028 INFO lxc_seccomp - seccomp.c:parse_config_v2:436 - Adding native rule for delete_module action 327681</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.029 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook /var/lib/lxd 11 start' for container 'test02', config section 'lxc'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.029 INFO lxc_start - start.c:lxc_check_inherited:251 - closed inherited fd 3</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.030 INFO lxc_start - start.c:lxc_check_inherited:251 - closed inherited fd 9</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.046 INFO lxc_monitor - monitor.c:lxc_monitor_sock_name:178 - using monitor sock name lxc/d78a9d7e97b4b375//var/lib/lxd/containers</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.235 DEBUG lxc_start - start.c:setup_signal_fd:289 - sigchild handler set</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.239 DEBUG lxc_console - console.c:lxc_console_peer_default:473 - no console peer</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.239 INFO lxc_start - start.c:lxc_init:488 - 'test02' is initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.240 ERROR lxc_start - start.c:must_drop_cap_sys_boot:647 - failed to clone (0x30000011): Invalid argument (includes CLONE_NEWUSER)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.240 DEBUG lxc_start - start.c:__lxc_start:1297 - Dropping cap_sys_boot</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.240 INFO lxc_start - start.c:resolve_clone_flags:999 - Cloning a new user namespace</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.281 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.282 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.314 DEBUG lxc_conf - conf.c:instantiate_veth:2613 - instantiated veth 'vethB5EGMP/veth3U2D90', index is '8'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.314 INFO lxc_cgroup - cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.322 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x7c020000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.323 ERROR lxc_start - start.c:lxc_spawn:1123 - Invalid argument - failed to fork into a new namespace</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.393 ERROR lxc_start - start.c:__lxc_start:1329 - failed to spawn 'test02'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.393 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxcfs/lxc.reboot.hook' for container 'test02', config section 'lxc'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012313.922 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook /var/lib/lxd 11 stop' for container 'test02', config section 'lxc'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/systemd//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/devices//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.051 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/net_cls//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/cpuset//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/cpu//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.052 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/blkio//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.053 ERROR lxc_namespace - namespace.c:lxc_clone:67 - failed to clone (0x10000000): Invalid argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.053 ERROR lxc_cgfsng - cgfsng.c:recursive_destroy:999 - Error destroying /sys/fs/cgroup/freezer//lxc/test02</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.055 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.086 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012314.086 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012526.154 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012526.154 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012526.200 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type u nsid 0 hostid 231072 range 65536</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""> lxc 20160409012526.200 INFO lxc_confile - confile.c:config_idmap:1498 - read uid map: type g nsid 0 hostid 231072 range 65536</span></p></div><div><span style=""><br></span></div></div>