[lxc-users] Latest released LXC on Debian 7.7

Mario Castelán Castro marioxcc.MT at yandex.com
Fri Nov 14 21:28:07 UTC 2014


Hello.

I'm trying to set up an LXC Debian container with Debian 7.7 as a host.

After having successfully created a container with "lxc-create 
lxc-create -n test -t debian", I try to start it with "lxc-start -n test 
--logfile log". I have attached the resulting log.

It seems like my kernel (3.2.0-4-amd64 as packaged by Debian) is missing 
some capabilities. The LXC shipped with Debian is able to start a 
container, but it has a different problem: when shutting down the 
container, the host SSH server and ongoing connections crash.

Is there a way to run the latest LXC release with this old kernel?. I 
have found 
<https://www.mail-archive.com/lxc-users@lists.linuxcontainers.org/msg01869.html> 
but upgrading the kernel is not feasible in this case.

Regards and thanks in advance.
-------------- next part --------------
      lxc-start 1416000055.136 ERROR    lxc_conf - unknown capability sys_module
      lxc-start 1416000055.137 ERROR    lxc_conf - failed to drop capabilities
      lxc-start 1416000055.137 ERROR    lxc_start - failed to setup the container
      lxc-start 1416000055.137 ERROR    lxc_sync - invalid sequence number 1. expected 2
      lxc-start 1416000055.188 ERROR    lxc_start - failed to spawn 'test'
      lxc-start 1416000055.200 ERROR    lxc_start_ui - The container failed to start.
      lxc-start 1416000055.200 ERROR    lxc_start_ui - Additional information can be obtained by setting the --logfile and --logpriority options.


More information about the lxc-users mailing list