Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2009:1508 - Bug Fix Advisory
Issued:
2009-10-15
Updated:
2010-03-30

RHBA-2009:1508 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

pexpect bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated pexpect package that fixes two bugs is now available.

Description

pexpect is a pure Python module for spawning child applications,
controlling them, and responding to expected patterns in their output.
Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a
child application and control it as if a human were typing commands.
Pexpect can be used for automating interactive applications such as ssh,
ftp, passwd, telnet, etc. It can also be used to automate setup scripts for
duplicating software package installations on different servers and for
automated software testing.

This update addresses the following issues:

  • pexpect was previously included in the unsupported Extra Packages for

Enterprise Linux (EPEL) repository. It is now a supported package in Red
Hat Enterprise Linux but is otherwise unchanged. The initial release of
pexpect as a supported package included no changes at all and, as a
consequence, did not obsolete the EPEL version. To ensure the supported
package properly obsoletes the EPEL package, the Release value for this
package was incremented. (BZ#481380)

  • previously, the shebang lines in pexpect's python executables pointed to

"/usr/bin/env python" rather than explicitly referencing the version of
Python installed on the system. This broke these executables in the case of
a user installing an alternative Python version. With this update, all
shebang lines point explicitly to the system version at /usr/bin/python.
(BZ#521891)

All pexpect users should install this updated package, which addresses
these issues.

Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 481380 - ENVRA of pexpect needs to be bumped to obsolete import from EPEL correct
  • BZ - 521891 - Fix instances of #!/usr/bin/env python in pexpect

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
x86_64
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2
ia64
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2
i386
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

Red Hat Enterprise Linux Workstation 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
x86_64
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2
i386
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

Red Hat Enterprise Linux Desktop 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
x86_64
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2
i386
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
s390x
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

Red Hat Enterprise Linux for Power, big endian 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
ppc
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

Red Hat Enterprise Linux Server from RHUI 5

SRPM
pexpect-2.3-3.el5.src.rpm SHA-256: 64c62fdf0c653612b3d73b48ab51b091428ba7e4f89ae88fbde491fc1e2f6152
x86_64
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2
i386
pexpect-2.3-3.el5.noarch.rpm SHA-256: 5af7caa688aab58395f3bfadcd19c764c81bd7f98beb20527ac0b7fcc980a4a2

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility