[Lxc-users] LXC Debian Wheezy Template
Danijel Vargek, Continum
danijel.vargek at continum.net
Wed Jul 31 10:01:51 UTC 2013
Hi everybody,
is there a way to use Debian-Wheezy containers in a clean,
working way on lxc?
My current setup involves a Debian-Wheezy Host with several Wheezy containers.
As stated on the Debian wiki (wiki.debian.org/LXC), the original template ships
with several problems (mainly missing ttys for console login and other stuff).
We set up our containers with the template recommended on this mailinglist.
Installation worked pretty fine, but there are some problems according to the
init scripts:
1. Stopping/Restarting containers via /etc/init.d/lxc fails with a timeout:
####
[....] Stopping Linux Containers: test.xxx.com
telinit: timeout opening/writing control channel /run/initctl
####
2. Shutdown/Reboot inside a container stops all processes except of init, so the
container finally does not shutdown or reboot.
We can see the still active init process for the container via lxc-ps
####
CONTAINER PID TTY TIME CMD
test.xxx.com 4352 ? 00:00:05 init
####
The only way to finally stop a container is via lxc-stop
Did anyone experience a similiar problem, or is there an existing workaround for
this?
Regards,
Danijel
--
Danijel Vargek
Continum AG
Bismarckallee 7b-d
79098 Freiburg i. Br.
Tel. +49 761 217 111-74
Fax. +49 761 217 111-98
http://www.continum.net
Sitz der Gesellschaft: Freiburg im Breisgau
Registergericht: Amtsgericht Freiburg, HRB 6866
Vorstand: Rolf Mathis, Volker T. Mueller
Vorsitzender d. Aufsichtsrats: Prof. Dr. Karl-F. Fischbach
More information about the lxc-users
mailing list