[lxc-users] The dark side of LXC

Stéphane Graber stgraber at ubuntu.com
Sat Jul 12 16:42:44 UTC 2014


On Sat, Jul 12, 2014 at 11:35:06AM -0400, CDR wrote:
> There is an unresolved issue that really goes to the core of the
> container model.
> Yesterday I installed Mysql latest on the host, and had to remove it
> one hour later. It turns out that since I have 20 containers each with
> a running version if mysql, the instance running on the host kills the
> other instances when you try to stop mysql, an similarly, the host
> version never starts because it thinks, wrongly, that it is already
> running.
> 
> We need to make the host ignore the processes running on the
> containers, much like a real virtual machine, or else the host cannot
> really run any application whatsoever.

That's the sign of a broken init script, init scripts should be tracking
the pid of the spawned process and only kill that. Please file a bug
against your distro, that's nothing to do with LXC.

> 
> 
> Philip Orleans
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140712/6816e630/attachment.sig>


More information about the lxc-users mailing list