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
    • 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 Lightspeed
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 Lightspeed
  • 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:0974 - Bug Fix Advisory
Issued:
2009-05-18
Updated:
2009-05-18

RHBA-2009:0974 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

rhnlib bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated rhnlib package that fixes various bugs is now available.

Description

rhnlib is a collection of Python modules used by the Red Hat Network (RHN)
software.

This updated package addresses the following bugs:

  • if an attempt to open a file in /tmp failed, the SmartIO.py module would

enter a loop and make multiple attempts to open the same file. If these
all failed, the module would exit with an error. The module provided in
this updated package instead uses mkstemp to create a file with a unique
filename. This has a greater chance of success and uses system resources
more efficiently. (BZ#434781)

  • rhnlib has been enhanced and should now be able to handle any redirect

requests sent down by Red Hat Network servers. (BZ#479047)

  • when redirected to the content provider for packages, up2date would not

correctly register changes in protocol, which would result in a TypeError.
Additionally, when attempting to download multiple packages, only the
first redirect URL would be stored, so not all packages pulled down would
be correct. Changes in protocol and URLs are now tracked and redirecting
should work as expected. (BZ#488744, BZ#489328)

  • _internal_xmlrpclib.py was necessary for Python Version 2.2 or lower.

The default version of Python for this platform is 2.3 or above, so
_internal_smlrpclib.py has been removed as it is no longer necessary.
(BZ#492405)

  • when a package could not be found on the content delivery network,

up2date would make an incorrect request to the original host, and use this
URL for subsequent attempts to locate the package. Up2date now requests a
fresh redirect when a package cannot be located on the network. (BZ#492423)

  • some changes to rhnlib for Red Hat Enterprise Linux 4.8 cause a

regression in RHN Proxy 5.2 such that updating the client system results
in an internal server error. Rhnlib has been altered so that its transport
file will now default to that of Red Hat Enterprise Linux 4.7 or lower,
preventing RHN Proxy issues. (BZ#498678)

All RHN users are advised to upgrade to this updated package.

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 4 x86_64
  • Red Hat Enterprise Linux Server 4 ia64
  • Red Hat Enterprise Linux Server 4 i386
  • Red Hat Enterprise Linux Workstation 4 x86_64
  • Red Hat Enterprise Linux Workstation 4 ia64
  • Red Hat Enterprise Linux Workstation 4 i386
  • Red Hat Enterprise Linux Desktop 4 x86_64
  • Red Hat Enterprise Linux Desktop 4 i386
  • Red Hat Enterprise Linux for IBM z Systems 4 s390x
  • Red Hat Enterprise Linux for IBM z Systems 4 s390
  • Red Hat Enterprise Linux for Power, big endian 4 ppc

Fixes

  • BZ - 434781 - The module should use mktemp() or tempfile module to generate temporary file
  • BZ - 479047 - enhance and test redirect support for rhnlib
  • BZ - 488744 - Redirecting from http to https urls still uses the http protocol
  • BZ - 489328 - up2date fails with traceback
  • BZ - 492405 - rhnlib either needs to Require python-sgmlop or _internal_xmlrpclib.py needs to be removed.
  • BZ - 492423 - After following a redirect and getting a 404, rhnlib makes a bad http request to the original host
  • BZ - 498678 - Changes to rhnlib for RHEL 4.8 breaks RHN Proxy 5.2 (and perhaps earlier).

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 4

SRPM
rhnlib-2.1.4-7.el4.src.rpm SHA-256: 95090f11017403366f9ad1583375e6568b30f6c2dcdc2271e56970ccd5490295
x86_64
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
ia64
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
i386
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d

Red Hat Enterprise Linux Workstation 4

SRPM
rhnlib-2.1.4-7.el4.src.rpm SHA-256: 95090f11017403366f9ad1583375e6568b30f6c2dcdc2271e56970ccd5490295
x86_64
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
ia64
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
i386
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d

Red Hat Enterprise Linux Desktop 4

SRPM
rhnlib-2.1.4-7.el4.src.rpm SHA-256: 95090f11017403366f9ad1583375e6568b30f6c2dcdc2271e56970ccd5490295
x86_64
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
i386
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d

Red Hat Enterprise Linux for IBM z Systems 4

SRPM
rhnlib-2.1.4-7.el4.src.rpm SHA-256: 95090f11017403366f9ad1583375e6568b30f6c2dcdc2271e56970ccd5490295
s390x
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d
s390
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d

Red Hat Enterprise Linux for Power, big endian 4

SRPM
rhnlib-2.1.4-7.el4.src.rpm SHA-256: 95090f11017403366f9ad1583375e6568b30f6c2dcdc2271e56970ccd5490295
ppc
rhnlib-2.1.4-7.el4.noarch.rpm SHA-256: 9194454e54454abdf784100b99c58f7691065ca5e48dabba032bec12a6e6747d

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