Quoting Mario Castelán Castro ([email protected]): > 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
I suspect the issue is not your kernel, but rather your kernel headers package. Is linux-libc-dev installed? > 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/[email protected]/msg01869.html> > but upgrading the kernel is not feasible in this case. > > Regards and thanks in advance. > 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. > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
