[Buildbot-devel] $HOME missing in steps' environment
Jorge Gonzalez
gjorge at google.com
Sat Nov 3 01:19:25 UTC 2012
Ah, I forgot mentioning what you did! I'm also using upstart...
thanks for the tip
Jorge
On Fri, Nov 2, 2012 at 6:17 PM, Dan Kegel <dank at kegel.com> wrote:
> Oh, my, yes. When I run buildbot under upstart, just about every
> environment variable is missing.
>
> In my wrapper script, I end up doing things like
>
> if test "$LOGNAME" = ""
> then
> # Upstart jobs don't set traditional variables.
> BUILDUSER=`id -nu`
> BUILDUSERHOME=`eval echo ~$BUILDUSER`
> else
> BUILDUSER=$LOGNAME
> BUILDUSERHOME=$HOME
> fi
>
>
>
> On Fri, Nov 2, 2012 at 6:01 PM, Jorge Gonzalez <gjorge at google.com> wrote:
>
>> I'm running 8.6, and in just one ubuntu host out of many equally
>> configured ones, all steps are missing the HOME variable from their
>> environment.
>>
>> Has anyone ever run into something like this?
>>
>> Jorge
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Central: Instant, anywhere, Remote PC access and management.
>> Stay in control, update software, and manage PCs from one command center
>> Diagnose problems and improve visibility into emerging IT issues
>> Automate, monitor and manage. Do more in less time with Central
>> http://p.sf.net/sfu/logmein12331_d2d
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20121102/6520f04b/attachment.html>
More information about the devel
mailing list