Project

General

Profile

Actions

Bug #7404

closed

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

Added by Brett Smith over 8 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Crunch
Target version:
-
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 variablesClosedActions
Actions #1

Updated by Brett Smith about 8 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #3

Updated by Peter Amstutz about 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF