Bug #7404

[Crunch] crunch-job does not sufficiently sanitize job parameter names when putting them in the environment

Added by Brett Smith over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Crunch
Target version:
Start date:
09/30/2015
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Per the dash man page, environment variable names can only include alphanumerics and underscores. Job parameter names can include additional characters. crunch-job doesn't strip out these additional characters, so it can end up trying to put weird names in the environment.

The fix for this may be #3097. Alternatively, sanitize invalid characters from the name one way or another—probably by either replacing them with underscores, or removing them.


Related issues

Related to Arvados - Bug #3097: [Crunch] Pass script_parameters on stdin instead of JOB_PARAMETER_* environment variablesClosed

History

#1 Updated by Brett Smith about 3 years ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF