Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Warning: HOME environment variable not set.
       [not found]     ` <218306271.74676.1427117803698.JavaMail.zimbra@efficios.com>
@ 2015-04-10 23:12       ` Anand Neeli
  2015-04-10 23:57       ` Philippe Proulx
  1 sibling, 0 replies; 3+ messages in thread
From: Anand Neeli @ 2015-04-10 23:12 UTC (permalink / raw)


What will be the effect of HOME env var not being set?
cant the app log without this env var? or can we ignore this warning?

Thanks,
Anand Neeli


On Mon, Mar 23, 2015 at 7:06 PM, Mathieu Desnoyers <
mathieu.desnoyers at efficios.com> wrote:

> Perhaps your program is clearing its environment
> variables ? Or launched by a wrapper that clears
> the env. var. ?
>
> Can you try with a simple demo program to find our
> what is clearing those ?
>
> Thanks,
>
> Mathieu
>
>
> ------------------------------
>
> Hi All,
> I'm sorry to bump on this thread again.
>
> Is there any way to overcome this issue?
>
> Thanks,
> Anand Neeli
>
> On Wed, Mar 18, 2015 at 10:01 PM, Chidhu R <chid1989 at gmail.com> wrote:
>
>> I too am getting the same errors. Inspite of setting LTTNG_HOME in my
>> program.
>>
>> On Tue, Mar 17, 2015 at 2:18 PM, Anand Neeli <anand.neeli at gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> any idea when do we get this error?
>>>
>>> app: libust[4745/4745]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4751/4751]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4760/4760]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4780/4780]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>>
>>> i have set LTTNG_HOME=HOME=/home/root
>>> using 2.6
>>>
>>> Thanks,
>>> Anand Neeli
>>>
>>>
>>> _______________________________________________
>>> lttng-dev mailing list
>>> lttng-dev at lists.lttng.org
>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>>
>>>
>>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150411/0a430a6b/attachment.html>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [lttng-dev] Warning: HOME environment variable not set.
       [not found]     ` <218306271.74676.1427117803698.JavaMail.zimbra@efficios.com>
  2015-04-10 23:12       ` [lttng-dev] Warning: HOME environment variable not set Anand Neeli
@ 2015-04-10 23:57       ` Philippe Proulx
  2015-04-11  0:31         ` Anand Neeli
  1 sibling, 1 reply; 3+ messages in thread
From: Philippe Proulx @ 2015-04-10 23:57 UTC (permalink / raw)


On Mon, Mar 23, 2015 at 9:36 AM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> Perhaps your program is clearing its environment
> variables ? Or launched by a wrapper that clears
> the env. var. ?

Perhaps LTTng-UST should do like LTTng-tools: try $LTTNG_HOME, then
$HOME, then the current UID's entry in /etc/passwd? This would avoid
disabling per-user tracing even when the environment variables are cleared.

WDYT?

Phil

>
> Can you try with a simple demo program to find our
> what is clearing those ?
>
> Thanks,
>
> Mathieu
>
>
> ________________________________
>
> Hi All,
> I'm sorry to bump on this thread again.
>
> Is there any way to overcome this issue?
>
> Thanks,
> Anand Neeli
>
> On Wed, Mar 18, 2015 at 10:01 PM, Chidhu R <chid1989 at gmail.com> wrote:
>>
>> I too am getting the same errors. Inspite of setting LTTNG_HOME in my
>> program.
>>
>> On Tue, Mar 17, 2015 at 2:18 PM, Anand Neeli <anand.neeli at gmail.com>
>> wrote:
>>>
>>> Hi All,
>>>
>>> any idea when do we get this error?
>>>
>>> app: libust[4745/4745]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4751/4751]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4760/4760]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>> app: libust[4780/4780]: Warning: HOME environment variable not set.
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
>>> lttng-ust-comm.c:385)
>>>
>>> i have set LTTNG_HOME=HOME=/home/root
>>> using 2.6
>>>
>>> Thanks,
>>> Anand Neeli
>>>
>>>
>>> _______________________________________________
>>> lttng-dev mailing list
>>> lttng-dev at lists.lttng.org
>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>>
>>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [lttng-dev] Warning: HOME environment variable not set.
  2015-04-10 23:57       ` Philippe Proulx
@ 2015-04-11  0:31         ` Anand Neeli
  0 siblings, 0 replies; 3+ messages in thread
From: Anand Neeli @ 2015-04-11  0:31 UTC (permalink / raw)


What's the impact of this?
What will happen if we see this error "disabling per-user tracing".
Will the app stop tracing?

Thanks
Anand Neeli
On Apr 11, 2015 5:27 AM, "Philippe Proulx" <eeppeliteloop at gmail.com> wrote:

> On Mon, Mar 23, 2015 at 9:36 AM, Mathieu Desnoyers
> <mathieu.desnoyers at efficios.com> wrote:
> > Perhaps your program is clearing its environment
> > variables ? Or launched by a wrapper that clears
> > the env. var. ?
>
> Perhaps LTTng-UST should do like LTTng-tools: try $LTTNG_HOME, then
> $HOME, then the current UID's entry in /etc/passwd? This would avoid
> disabling per-user tracing even when the environment variables are cleared.
>
> WDYT?
>
> Phil
>
> >
> > Can you try with a simple demo program to find our
> > what is clearing those ?
> >
> > Thanks,
> >
> > Mathieu
> >
> >
> > ________________________________
> >
> > Hi All,
> > I'm sorry to bump on this thread again.
> >
> > Is there any way to overcome this issue?
> >
> > Thanks,
> > Anand Neeli
> >
> > On Wed, Mar 18, 2015 at 10:01 PM, Chidhu R <chid1989 at gmail.com> wrote:
> >>
> >> I too am getting the same errors. Inspite of setting LTTNG_HOME in my
> >> program.
> >>
> >> On Tue, Mar 17, 2015 at 2:18 PM, Anand Neeli <anand.neeli at gmail.com>
> >> wrote:
> >>>
> >>> Hi All,
> >>>
> >>> any idea when do we get this error?
> >>>
> >>> app: libust[4745/4745]: Warning: HOME environment variable not set.
> >>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
> >>> lttng-ust-comm.c:385)
> >>> app: libust[4751/4751]: Warning: HOME environment variable not set.
> >>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
> >>> lttng-ust-comm.c:385)
> >>> app: libust[4760/4760]: Warning: HOME environment variable not set.
> >>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
> >>> lttng-ust-comm.c:385)
> >>> app: libust[4780/4780]: Warning: HOME environment variable not set.
> >>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at
> >>> lttng-ust-comm.c:385)
> >>>
> >>> i have set LTTNG_HOME=HOME=/home/root
> >>> using 2.6
> >>>
> >>> Thanks,
> >>> Anand Neeli
> >>>
> >>>
> >>> _______________________________________________
> >>> lttng-dev mailing list
> >>> lttng-dev at lists.lttng.org
> >>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> >>>
> >>
> >
> >
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> >
> >
> >
> >
> > --
> > Mathieu Desnoyers
> > EfficiOS Inc.
> > http://www.efficios.com
> >
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150411/96187b3f/attachment-0001.html>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-11  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAM5kDqw2R5+xy9t+sjet_PWt2+2fPh5ijbkKB_15NUJQUoKU5Q@mail.gmail.com>
     [not found] ` <CAL1ZhOM+RTpz2iiqYEM2RHTCK+PxBAXk54q8ykmnsac0-w4WoA@mail.gmail.com>
     [not found]   ` <CAM5kDqxMTOj0TqZQjT0i+0MHmPxfvPUocgV0_erw4_7+pBtSDA@mail.gmail.com>
     [not found]     ` <218306271.74676.1427117803698.JavaMail.zimbra@efficios.com>
2015-04-10 23:12       ` [lttng-dev] Warning: HOME environment variable not set Anand Neeli
2015-04-10 23:57       ` Philippe Proulx
2015-04-11  0:31         ` Anand Neeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox