- Issued:
- 2009-09-02
- Updated:
- 2009-09-02
RHBA-2009:1353 - Bug Fix Advisory
Synopsis
rhnlib bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated rhnlib package that fixes various bugs and adds two enhancements
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:
- when redirected to the content provider for packages, rhn client would
not correctly register changes in protocol, which would result in a
TypeError. (BZ#489920)
- 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#489921)
- when a package could not be found on the content delivery network, rhnlib
would make an incorrect request to the original host, and use this URL for
subsequent attempts to locate the package. rhn client now requests a fresh
redirect when a package cannot be located on the network. (BZ#492638)
- 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#499858)
This package also adds the following enhancements:
- rhnlib has been enhanced and should now be able to handle any redirect
requests sent down by Red Hat Network servers. (BZ#484245)
- users were constrained to use the /tmp directory on the server's file
system to store temporary transport files for transfer to the clients, and
required space on client machines where the temporary transport files could
be stored during installation. The version of rhnlib included with this
advisory allows end-users to define their own temporary directory in which
to spool temporary transport files.(BZ#499860)
All Red Hat Network users are advised to install this package which fixes
these bugs and adds these enhancements
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 - 484245 - enhance and test redirect support for rhnlib
- BZ - 489920 - yum fails with traceback
- BZ - 489921 - Redirecting from http to https urls still uses the http protocol
- BZ - 492638 - After following a redirect and getting a 404, rhnlib makes a bad http request to the original host
- BZ - 499858 - The module should use mktemp() or tempfile module to generate temporary file
- BZ - 499860 - Ability to define tmpdir in /etc/sysconfig/rhn/up2date
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
x86_64 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
ia64 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
i386 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
x86_64 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
i386 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
x86_64 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
i386 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
s390x | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
ppc | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
rhnlib-2.2.7-2.el5.src.rpm | SHA-256: f5b27d1f0001e7558c5474c2928d9abab5a0fcceb329ca5395d5588c7b5a819e |
x86_64 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
i386 | |
rhnlib-2.2.7-2.el5.noarch.rpm | SHA-256: d669b9e37afaaaf1b49e776acc7d618f7a46fde8b6cc39580bb6b5333fc95803 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.