Inconsistent/Missing "shell" settings in Actions for Unix
search cancel

Inconsistent/Missing "shell" settings in Actions for Unix

book

Article ID: 87405

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

The shell of several actions is set to either -sh, -bash or nothing at all. This can cause problems, especially for actions that invoke java, as JAVA_HOME might not be set globally (which is usually the case) and the java/bin-directory might not be in the global PATH-variable (which is often the case). 

As /bin/bash should be present on almost all systems, our recommendation is to consistently set the shell of all Unix jobs in actions to -bash.

Investigation

In the Action "File Create Snapshot" (PACKAGES/PCK.AUTOMIC_FILESYSTEM/ACTIONS/FILE/FILESYSTEM/PCK.AUTOMIC_FILESYSTEM.PUB.ACTION.SNAPSHOT_CREATE in package PCK.AUTOMIC_FILESYSTEM version 1.1.0):
  1. [email protected] sets shell to "-sh" 
  2. [email protected] does not set shell at all (both are part of the same action, both are executed on the same system)

Environment

OS Version: N/A

Cause

Cause type:
By design
Root Cause: This works as design and there is no fix for this. Please kindly help to contribute your ideas in http://ideas.automic.com

Resolution

N/A

Fix Status: No Fix

Additional Information

Workaround :
N/A