Why does the post installation script fails with error "The system has no more ptys" during kickstart installation of Red Hat Enterprise Linux 6?

Solution Unverified - Updated -

Issue

  • Kickstart installation of Red Hat Enterprise Linux 6 fails during %post section with the following error message.
spawn /bin/sh ./test.sh^M
The system has no more ptys.  Ask your system administrator to create more.
    while executing
"spawn /bin/sh ./test.sh"
    (file "./somescript.sh" line 4)^M

Environment

  • Red Hat Enterprise Linux 6
  • Kickstart Installation.

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.