<font color='black' size='2' face='arial'>Hi,<br>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">
<div id="AOLMsgPart_1_6fc42ea3-0444-4d16-9874-1dc017226dfc"><font size="2" color="black" face="arial">
<div>
on my little home server (Ubuntu LTS 14.04) I try to setup an unprivileged lxc container.<br>
The creation of lxc containers is ok, but the start fails<font size="2">.</font></div>
<div><font size="2">Opened an issue on github, got no reply so far so I try this list.</font><br>
<a target="_blank" href="https://github.com/lxc/lxc/issues/339">https://github.com/lxc/lxc/issues/339</a></div>
<div><br>
</div>
<div><font size="2">According to the trace file (test6.log) the cause seems to be this line:</font><code><br>
</code></div>
<div><code> lxc-start 1412576991.028 ERROR lxc_start - Permission denied - failed to exec /sbin/init</code></div>
<br>
<div>So I checked permissions<font size="2">:</font><code><br>
</code></div>
<div><code>lxc01@srv01:~$ ls -lisa /lxc01/.local/share/lxc/test6/rootfs/sbin/init
15829 260 -rwxr-xr-x 1 427680 427680 265848 Jul 18 11:46 /lxc01/.local/share/lxc/test6/rootfs/sbin/init
lxc01@srv01:~$
</code></div>
From my point of view thats ok (the uid and gid fit to the ones in /etc/subuid and /etc/subguid<font size="2"> and in the container config</font><code><font size="2"><font face="Arial, Helvetica, sans-serif"> </font></font>cat .local/share/lxc/test6/config</code>)<br>
<br>
LTS 14.04 comes with lxc version 1.05 <br>
I installed the lxc 1.06 tar ball too (parrallel) but got the same error again.<br>
<br>
<pre><code>lxc01@srv01:~$ > test6.log ; lxc-start -n test6 -o test6.log -l trace
lxc-start: invalid sequence number 1. expected 4
lxc-start: failed to spawn 'test6'
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing hugetlb:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing perf_event:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing blkio:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing freezer:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing devices:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing memory:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing cpuacct:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing cpu:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing cpuset:test6
lxc-start: call to cgmanager_remove_sync failed: invalid request
lxc-start: Error removing name=systemd:test6
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and --log-priority options.
lxc01@srv01:~$<br>
<br>
<font size="2"><font face="Arial, Helvetica, sans-serif">Thanks,<br>
Alexander<br>
<br>
</font></font> <br>
</code></pre>
</font>
</div>
</div>
</font>