Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701775

Re: [PATCH_v4.1_3/3] Make core_pattern support namespace

From Aleksa Sarai <asarai@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH_v4.1_3/3] Make core_pattern support namespace
Date 2017-08-02 09:10 +0200
Message-ID <u9VX3-6JV-3@gated-at.bofh.it> (permalink)
References <u9Vu1-6ig-5@gated-at.bofh.it> <u9Vu1-6ig-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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 based on namespace design, it is good to allow
> each container keeping their own coredump setting.

 From what I can see, this is basically setting a per-pidns core_pattern 
(which is hierarchically applied). I'm not sure this actually solves the 
more general problem (that usermode helper settings aren't generally 
namespace-aware) -- and what happens if you have processes in the same 
pidns that have different mount namespaces?

If we _had_ to do it like this I would think it makes more sense to pin 
it to mountns, but I was under the impression that someone was working 
on making usermode helpers play nicer with namespaces.

Just my $0.02.

-- 
Aleksa Sarai
Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH_v4.1_3/3] Make core_pattern support namespace Cao Shufeng <caosf.fnst@cn.fujitsu.com> - 2017-08-02 08:40 +0200
  Re: [PATCH_v4.1_3/3] Make core_pattern support namespace Aleksa Sarai <asarai@suse.de> - 2017-08-02 09:10 +0200

csiph-web