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, 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