Linux Container Development
 help / color / mirror / Atom feed
From: Krister Johansen <kjlx-6woCzk5+qv5TrMCiz+cRkdBPR1lH4CV8@public.gmane.org>
To: "Cao Shufeng/曹树烽" <caosf.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org,
	ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH v4 3/3] Make core_pattern support namespace
Date: Thu, 27 Oct 2016 10:52:45 -0700	[thread overview]
Message-ID: <20161027175244.GA2300@templeofstupid.com> (raw)
In-Reply-To: <1477453462.6965.24.camel-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>

Hi Cao:

Thanks for taking the time to answer my questions.

On Wed, Oct 26, 2016 at 11:44:22AM +0800, Cao Shufeng/曹树烽 wrote:
> 在 2016-10-25二的 17:19 -0700,Krister Johansen写道:
> > Does your change still allow a global handler in the host to process
> > cores from containers?  Or is that behavior removed completely?
> Yes, we still support a global handler in the host.
> But we need to set core_pattern in container to empty string firstly.

At least for what we're doing, it shouldn't be a problem to set
/proc/sys/core_pattern to the NULL string in the container before procfs
gets mounted read-only.

Thanks for doing this work.  It looks like a great improvement.

-K
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/containers

  parent reply	other threads:[~2016-10-27 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25  7:28 [PATCH v4 0/3] Make core_pattern support namespace Cao Shufeng
     [not found] ` <1477380536-3307-1-git-send-email-caosf.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-10-25  7:28   ` [PATCH v4 1/3] Make call_usermodehelper_exec possible to set namespaces Cao Shufeng
2016-10-25  7:28   ` [PATCH v4 2/3] Limit dump_pipe program's permission to init for container Cao Shufeng
2016-10-25  7:28   ` [PATCH v4 3/3] Make core_pattern support namespace Cao Shufeng
     [not found]     ` <1477380536-3307-4-git-send-email-caosf.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-10-26  0:19       ` Krister Johansen
     [not found]         ` <20161026001938.GB2525-6woCzk5+qv5TrMCiz+cRkdBPR1lH4CV8@public.gmane.org>
2016-10-26  3:44           ` Cao Shufeng/曹树烽
     [not found]             ` <1477453462.6965.24.camel-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-10-27 17:52               ` Krister Johansen [this message]
2016-11-09  4:06   ` [PATCH v4 0/3] " Cao Shufeng/曹树烽

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161027175244.GA2300@templeofstupid.com \
    --to=kjlx-6woczk5+qv5trmciz+crkdbpr1lh4cv8@public.gmane.org \
    --cc=caosf.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org \
    --cc=mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox