Bug 4860 - LSF jobmanager doesn't preserve environment variables with spaces
: LSF jobmanager doesn't preserve environment variables with spaces
Status: RESOLVED FIXED
: GRAM
general
: 4.0.3
: PC Windows XP
: P3 normal
: 4.0.4
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-11-14 17:03 by
Modified: 2006-11-22 14:31 (History)


Attachments
Patch to fix LSF environment quoting problem (395 bytes, patch)
2006-11-14 17:03, Alain Roy
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-11-14 17:03:01
The LSF job manager (lsf.in in the source code) doesn't preserve spaces in
environment variables. That is, if there is an environment variable like:

OSG_CITY="Norman, OK"

Then the job will see it as:

OSG_CITY=Norman,

This is easily fixed by adding quote marks around environment variables in
lsf.in. I'll attach a patch to do this. 

This is affecting OSG users, which is why it came up. 

Thanks,
-alain

ps I couldn't figure out what Component to label this as. I might have chose
GT2 Gatekeeper/jobmanager, but it also affects GT4, right?
------- Comment #1 From 2006-11-14 17:03:50 -------
Created an attachment (id=1127) [details]
Patch to fix LSF environment quoting problem
------- Comment #2 From 2006-11-14 17:19:49 -------
Thanks for the patch Alain, we'll add this.
------- Comment #3 From 2006-11-22 14:24:39 -------
Fix committed to trunk and 4.0 branch.

joe