ksh can not run hostname command in command substitution in a cluster environment

Solution Verified - Updated -

Issue

In a cluster environment, ksh is not allowed to run a hostname command in a command substitution construct $() due to a selinux denial.

Environment

RHEL 6
selinux-policy-3.7.19-231.el6_5.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content