[PATCH v4 3/3] Make core_pattern support namespace

2016-11-15 Thread Cao Shufeng
From: Zhao Lei Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be affected. For container

Re: [PATCH v4 3/3] Make core_pattern support namespace

2016-10-25 Thread Krister Johansen
On Tue, Oct 25, 2016 at 03:28:56PM +0800, Cao Shufeng wrote: > From: Zhao Lei > It will bring us following benefit: > 1: Each container can change their own coredump setting >based on operation on /proc/sys/kernel/core_pattern > 2: Coredump setting changed in host will not affect >running

[PATCH v4 3/3] Make core_pattern support namespace

2016-10-25 Thread Cao Shufeng
From: Zhao Lei Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be affected. For container