https://bugzilla.wikimedia.org/show_bug.cgi?id=48811

Tim Landscheidt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Tim Landscheidt <[email protected]> ---
Wow, that was a hard one to track down.  I spent literally an hour suspecting
Perl's exec.

It's essentially a bug (or a *very* odd feature) in qsub's "-b" option that is
set by jsub:

| $ /usr/bin/qsub $PWD/test.py '1=2 3' '$4'

=> "['/var/spool/gridengine/execd/tools-exec-01/job_scripts/143663', '1=2 3',
'$4']"

| $ /usr/bin/qsub -b n $PWD/test.py '1=2 3' '$4'

=> "['/var/spool/gridengine/execd/tools-exec-02/job_scripts/143662', '1=2 3',
'$4']"

| $ /usr/bin/qsub -b y $PWD/test.py '1=2 3' '$4'

=> "['/home/scfc/tmp/test.py', '1=2', '3']"

I have to think more about whether "-b y" is a good or bad idea (for example
for binary commands), or if we should double-escape arguments to the user
script, or what other options we have, and maybe ask on the mailing list.

Thanks for the report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to