On Mon, 10 Sep 2012 11:38:03 +0400, Andrew Kulikov wrote:

> I am using LXC containers to run isolated Debian instances. When I enter
> the container (via lxc-console command) and issue shutdown command
> inside the container -- master host goes down. It happens if I issue
> "shutdown -r", "shutdown -h" or just "shutdown" commands.
> 
> It happens not every time -- in some cases behavior is correct: shutdown
> command doesn't affect master host and container just goes down.
> 
> Where can be a problem? Thanks in advance!

Mmm... I'm not sure if this is going to help you somehow you but I recall 
(because I had to traslate the corresponding package) there were two 
methods for handling the LXC containers shutdown process, let me copy/
paste what the exact message says:

"Linux Containers can be shutdown in different ways. The stop method 
terminates all processes inside the container. The halt method initiates 
a shutdown, which takes longer and can have problems with containers that
don't shutdown themselves properly."

This message comes from debconf template that comes up when you first 
configure/setup the package but I don't know what it means (maybe there's 
a specific command you have to run for stopping the containers or it 
simply defines the command that needs to be executed when the host 
shutdowns... can't say for sure, sorry, it was just something I 
remembered becasue I found it curious).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/k2l53u$77j$1...@ger.gmane.org

Reply via email to