[lxc-users] LTS 14.04 lxc-start fails with unprivileged container
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Oct 8 23:25:08 UTC 2014
Quoting Heinz (garnixmail at aol.de):
> 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
What does 'file .local/share/lxc/test6/rootfs/sbin/init'
show? Is it a valid executable for your architecture?
To avoid the cgmanager_remove_sync failures, add
lxc.mount.auto = cgroup:mixed
to your container config. But that won't affect the ability to
exec init.
-serge
More information about the lxc-users
mailing list