[Lxc-users] Problem with core dumps generated from containers, apport
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Apr 25 13:15:39 UTC 2013
Quoting Stéphane Graber (stgraber at ubuntu.com):
> On 04/25/2013 02:18 PM, Hans Feldt wrote:
> > Thanks great! But what I don't (yet) understand is shouldn't the new %P
> > behaviour be the default of %p instead?
> >
> > I mean a container PID never makes sense in host user space since there
> > is a 1:n mapping. Meaning PID x can have n mappings on the host.
> >
> > Thanks,
> > Hans
>
> Well, to make apport work we actually need both as we need %P to figure
> out what container that's and we need %p to tell apport in that
> container what PID to look at.
>
> So I preferred not to break things by changing the meaning of %p in the
> kernel.
Also, %p has meant the container pid for a long time now, so we can't
just go and change that in the kernel.
More information about the lxc-users
mailing list