> -----Original Message----- > From: Serge Hallyn [mailto:serge.hal...@ubuntu.com] > Sent: den 23 april 2013 14:52 > To: Hans Feldt > Cc: lxc-users@lists.sourceforge.net > Subject: Re: [Lxc-users] Problem with core dumps generated from > containers, apport
> > 260 is the PID of my test program (sleep 1000) in the container. It of > > course had another PID on the host... > > Hm, well that's certainly surprising to me, but there it is, in > fs/coredump.c:format_corename(): case 'p' uses task_tgid_vnr(). > > Would you like to send a patch upstream to add 'P' as an option for using the > global pid? Sorry this is out of my competence. I did check the code you pointed at and I think there's a name space conversion thing missing before handing over the PID over to user space. I could not find what function could do the trick. As a workaround if I temporarily change the core_pattern to write to file instead, I should get a readable useable core dump from a container process Thanks, Hans ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users