Running shell scripts causes an endless loop creating processes

Solution Verified - Updated -

Issue

When we run a shell script or even a single command using bash -c echo $PATH, the command hangs and processes start getting spawned endlessly.

Environment

  • Red Hat Enterprise Linux

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.