[Anthill-pro] What determines PATH in an agent?
Steve Boone
sbb at urbancode.com
Tue May 27 09:52:55 CDT 2008
Anthill will not alter that path that it inherits.
If you use a property in Anthill, Anthill will first check the environment
on the system that the job is running on. If it finds the property it will
use it, if it does not find it, it will check within Anthill to see if the
property exists there. If it does it will use it.
If the agent finds the property on the system itself, it will use that
value, it will disregard the value set from within anthill (Anthill will not
override any env. variables set on the system)
Hopefully I was able to make things a little bit more clear.
Let me know if you have further questions.
Cheers,
Steve Boone
On Fri, May 23, 2008 at 6:50 PM, Peter Steele <psteele at maxiscale.com> wrote:
> According to the "Locked Variables from the Agent Environment" screen,
> our agents define PATH as follows:
>
>
>
> env/PATH=
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
>
>
>
> This clearly shows /usr/local/bin is part of the path. However, when a job
> runs, /usr/local/bin is not in PATH. From what we can tell when an agent is
> booted the Anthill process runs before the path is fully formulated by the
> OS (FreeBSD in our case). The agent inherits whatever PATH is set to when it
> is started (in our case PATH=/sbin:/bin:/usr/sbin:/usr/bin), and not by what
> is defined by these locked variables. At least that is what we can gather.
> What is the purpose of these locked variables?
>
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080527/b27b268a/attachment.htm
More information about the Anthill-pro
mailing list