Hi,
on my little home server (Ubuntu LTS 14.04) I try to setup an unprivileged lxc container. The creation of lxc containers is ok, but the start fails. Opened an issue on github, got no reply so far so I try this list. https://github.com/lxc/lxc/issues/339 According to the trace file (test6.log) the cause seems to be this line: lxc-start 1412576991.028 ERROR lxc_start - Permission denied - failed to exec /sbin/init So I checked permissions: lxc01@srv01:~$ ls -lisa /lxc01/.local/share/lxc/test6/rootfs/sbin/init15829 260 -rwxr-xr-x 1 427680 427680 265848 Jul 18 11:46 /lxc01/.local/share/lxc/test6/rootfs/sbin/initlxc01@srv01:~$ From my point of view thats ok (the uid and gid fit to the ones in /etc/subuid and /etc/subguid and in the container config cat .local/share/lxc/test6/config) LTS 14.04 comes with lxc version 1.05 I installed the lxc 1.06 tar ball too (parrallel) but got the same error again. 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:~$ Thanks, Alexander
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
