[Labs-l] Tools: Check your jsub invocations for paths

Petr Bena benapetr at gmail.com
Wed Feb 26 14:39:53 UTC 2014


What's the point of not preserving these symlinks? Is their presence
breaking anything? I think these symlinks should be created on new
servers as well for permanent backward compatibility. They can't harm
anything.

On Wed, Feb 26, 2014 at 3:35 PM, Tim Landscheidt <tim at tim-landscheidt.de> wrote:
> Hi,
>
> some time ago we moved jsub, jstart and jstop from
> /usr/local/bin to /usr/bin.  We provided symlinks for back-
> ward-compatibility.  These symlinks will disappear as part
> of the move to the new data center.  So you need to make
> sure that your tools work without them.
>
> I've checked the crontabs on tools-login today for obvious
> invocations and fixed the ones of:
>
> - heb
> - local-addbot
> - local-addshore
> - local-awstats
> - local-bingle
> - local-bugello
> - local-cluebot
> - local-hawk-eye-bot
> - local-herculebot
> - local-jackbot
>
> Unfortunately, it is not possible to check all scripts, web
> applications, etc., and external repositories are below the
> horizon anyway, so you need to do it yourself:
>
> - If you have hard-coded calls to /usr/local/bin/jsub (and
>   jstart and jstop) in your programs, you need to change
>   them to /usr/bin/jsub (and jstart and jstop).
>
> - If you set $PATH in your programs explicitely and call
>   jsub without path, you need to make sure that $PATH in-
>   cludes /usr/bin.
>
> Tim
>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l



More information about the Labs-l mailing list