[lxc-users] LTS 14.04 lxc-start fails with unprivilegedcontainer
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Oct 16 09:28:24 UTC 2014
Ok, check the output of 'grep DENIED /var/log/syslog', though you turned off
apparmor so that shouldn't be involved. Also try running /bin/sleep 200 instead
of init, and also try doing /sbin/init verbose debug --verbose --debug, i.e.
lxc-start -l trace -o output -n tes6 -- /sbin/init verbose debug --verbose --debug
Quoting garnixmail at aol.de (garnixmail at aol.de):
>
> Quoting Serge Hallyn <serge.hallyn at ubuntu.com>:
> > What does 'file .local/share/lxc/test6/rootfs/sbin/init' show? Is it a valid executable for your architecture?
> my architecture is:
> lxc01 at srv01:~$ uname -a
> so this fits to the files architecture:
> Linux srv01 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> lxc01 at srv01:~$ file .local/share/lxc/test6/rootfs/sbin/init
> .local/share/lxc/test6/rootfs/sbin/init:
> ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=7a4c688d009fc1f06ffc692f5f42ab09e68582b2, stripped
> comparison to the main init file (which is obviusly working) - no diferences:
> lxc01 at srv01:~$ file /sbin/init
> /sbin/init:
> ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=7a4c688d009fc1f06ffc692f5f42ab09e68582b2, stripped
> lxc01 at srv01:~$
> lxc01 at srv01:~$ diff .local/share/lxc/test6/rootfs/sbin/init /sbin/init
> lxc01 at srv01:~$
>
> > To avoid the cgmanager_remove_sync failures, add
> > lxc.mount.auto = cgroup:mixed
> I added the line to: lxc01 at srv01:~$ vim .local/share/lxc/test6/config
> But the failure messages appeared again when I start the container
>
> - Thx for any more hints
> Alexander
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list