Re: LXC container shutdowns master host
Hi
On Mon, Sep 10, 2012 at 08:38:03AM +0100, Andrew Kulikov wrote:
> Hi all,
>
> 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.
Have you got /dev bind-mounted to the container? If so, that could
explain it, as they will end up sharing /dev/initctl - which controls
init, and thus controls runlevels and shutdown...
--
Karl E. Jorgensen
Reply to: