Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-10-07 Thread Kramer, Zach
ay yield to corrupted traces. Thanks, Mathieu > > Best, > Zach > > -Original Message- > From: lttng-dev On Behalf Of > Kramer, Zach > Sent: Tuesday, September 24, 2019 6:01 PM > To: Jonathan Rajotte-Julien > Cc: lttng-dev@lists.lttng.org > Subject: Re: [

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-30 Thread Mathieu Desnoyers
Thanks, Mathieu > > Best, > Zach > > -Original Message----- > From: lttng-dev On Behalf Of Kramer, Zach > Sent: Tuesday, September 24, 2019 6:01 PM > To: Jonathan Rajotte-Julien > Cc: lttng-dev@lists.lttng.org > Subject: Re: [lttng-dev] [EXTERNAL] Re: Pr

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-27 Thread Kramer, Zach
t, Zach -Original Message- From: lttng-dev On Behalf Of Kramer, Zach Sent: Tuesday, September 24, 2019 6:01 PM To: Jonathan Rajotte-Julien Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID Hi, Thanks for the quick response! Th

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
On Tue, Sep 24, 2019 at 04:13:13PM +, Kramer, Zach wrote: > Hi Jonathan, > > Thanks for the extra info. We do indeed fork without a following exec call and > I experimented with this preloading recently. When I experimented, I noticed > no difference in the tracing when I preload liblttng-ust-

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Kramer, Zach
Hi Jonathan, Thanks for the extra info. We do indeed fork without a following exec call and I experimented with this preloading recently. When I experimented, I noticed no difference in the tracing when I preload liblttng-ust-fork.so. What exactly is the consequence of not doing this? Thanks!

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
Hi Zach, Forgot to add that you might want to look at available UST wrappers depending on the nature of your daemon application. https://lttng.org/docs/v2.10/#doc-using-lttng-ust-with-daemons https://lttng.org/docs/v2.10/#doc-liblttng-ust-fd Cheers -- Jonathan Rajotte-Julien EfficiOS _

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Kramer, Zach
Hi, Thanks for the quick response! This looks interesting -- I will experiment with it and come back with any results. Cheers, Zach -Original Message- From: Jonathan Rajotte-Julien Sent: Tuesday, September 24, 2019 5:08 PM To: Kramer, Zach Cc: lttng-dev@lists.lttng.org Subject: [EXT

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Kramer, Zach
Hi, lttng-sessiond is launched in step 1 (with adequate delay before my daemon). The versions of LTTng are from poky/sumo: * lttng-modules 2.10.9 * lttng-tools 2.9.11 * lttng-ust 2.10.3 Unfortunately, the destroy session call that clears my logs is very likely tied to the systemd service file