On Wed, 5 Nov 2014 23:08:53 +0000
Alex Chekholko <ch...@stanford.edu> wrote:
 
> So I have a bash env var called "BASH_FUNC_module()" and when the tcl 
> jsv tries to make a TCL variable with that name, it errors out because 
> of the parenthesis.  I think this is a recent change in bash due to the 
> bash vulnerability fix and how bash functions are handled.
> 
> As a workaround, we can tell users not to use the '-V' flag to qsub.
> 
> What would I need to do to make the -V flag to qsub work again?

You could write a wrapper around qsub that serialises all the functon 
definitions into a single variable and then removes
them from the environment.  You could then add a starter_method that 
unserialises the function definitions back into  
the environment before executing the job.


 
 
-- 
William Hay <w....@ucl.ac.uk>

Attachment: pgpuHSKVZBcTS.pgp
Description: PGP signature

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to