Project

General

Profile

Actions

Bug #19081

open

Possible bug passing cmd line arguments with spaces to singularity

Added by Peter Amstutz almost 2 years ago. Updated 28 days ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
-
Release:
Release relationship:
Auto

Description

Customer reported a job that worked correctly with Docker runtime, did not work with the Singularity runtime.

The command line looked like this:

["/bin/bash", "-c", "command1 --option1 --option2"]

However it acts is if it were invoked as

/bin/bash -c command1

or possibly

/bin/bash -c command1 --option1 --option2

Further bolstering this hypothesis, the workaround was to not run it as a shell command (which seems to have been unnecessary, anyway), this worked as expected:

["command1", "--option1", "--option2"]


Subtasks 1 (0 open1 closed)

Task #19120: Review 19081-singularity-no-evalResolvedPeter Amstutz05/17/2022Actions

Related issues

Related to Arvados - Bug #18765: engine configuration too big > 1048448 with singularityNewActions
Actions

Also available in: Atom PDF