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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.