Re: [libvirt] [PATCH]LXC: force container to enable network namespace

2013-08-22 Thread Daniel P. Berrange
On Thu, Aug 22, 2013 at 09:23:50AM +0800, Gao feng wrote: On 08/21/2013 05:53 PM, Daniel P. Berrange wrote: On Wed, Aug 21, 2013 at 05:49:05PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com If we don't enable network namespace, we could shutdown host inside

Re: [libvirt] [PATCH]LXC: force container to enable network namespace

2013-08-22 Thread Chen HanXiao
-Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Thursday, August 22, 2013 5:42 PM To: Gao feng Cc: Chen Hanxiao; libvir-list@redhat.com Subject: Re: [libvirt] [PATCH]LXC: force container to enable network namespace On Thu, Aug 22, 2013 at 09:23

[libvirt] [PATCH]LXC: force container to enable network namespace

2013-08-21 Thread Chen Hanxiao
From: Chen Hanxiao chenhanx...@cn.fujitsu.com If we don't enable network namespace, we could shutdown host inside container by command 'shutdown', which is unacceptable. This patch will force users to enable network namespace before they start container. Signed-off-by: Chen Hanxiao

Re: [libvirt] [PATCH]LXC: force container to enable network namespace

2013-08-21 Thread Daniel P. Berrange
On Wed, Aug 21, 2013 at 05:49:05PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com If we don't enable network namespace, we could shutdown host inside container by command 'shutdown', which is unacceptable. This patch will force users to enable network namespace

Re: [libvirt] [PATCH]LXC: force container to enable network namespace

2013-08-21 Thread Gao feng
On 08/21/2013 05:53 PM, Daniel P. Berrange wrote: On Wed, Aug 21, 2013 at 05:49:05PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com If we don't enable network namespace, we could shutdown host inside container by command 'shutdown', which is unacceptable. This patch