1.248. rhn-client-tools

Updated rhn-client-tools and yum-rhn-plugin packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The rhn-client-tools and yum-rhn-plugin packages provide programs and libraries that allow a system to receive software updates from Red Hat Network (RHN) and Red Hat Network Satellite.
Bug Fixes
BZ#580479
Prior to this update, the graphical user interface of the firstboot application did not allow a user to select the EUS (Extended Update Support) channel during the configuration of software updates. With this update, the firstboot application has been adapted to include the Select operating system release screen. Now, when the EUS channel is available for the system, users are now allowed to select it from the pulldown list.
BZ#581482
Previously, the rhn_register utility for the graphical user interface and its variant for the text user interface (started by using the rhn_register --nox command) used different names for various window titles and buttons. This update corrects these inconsistencies, and both variants of rhn_register now share the same window titles and button labels.
BZ#596108
When using the graphical version of the firstboot application to configure software updates, clicking the Back button on the Review Subscription screen and then clicking Forward caused the system to be registered twice, consuming two entitlements. With this update, the firstboot application has been adapted to prevent multiple system registrations. Now, clicking the Back button on the Review Subscription screen leads a user back to the Set Up Software Updates screen, which no longer allows the user to register the system when it is already registered.
BZ#602609
Under certain circumstances, lines similar to the following may have been written to standard error when running the rhn_register utility in the graphical user interface:
/usr/share/rhn/up2date_client/messageWindow.py:72: DeprecationWarning: use set_markup() instead
This update adapts the rhn_register not to produce these messages.
BZ#606222
When using the firstboot application to configure software updates, the Choose Server screen did not allow users to use keyboard for navigation. This was caused by a label incorrectly getting the focus. With this update, the underlying source code has been adapted to remove the focus from the label, and users are now able to use the keyboard for navigation as expected.
BZ#617066
When using the Malayalam translation (that is, the ml_IN language code) of the firstboot application to configure software updates, the Why Register dialog box may have been too long to fit to the screen on certain display resolutions (that is, with height 600px and smaller). This update extends the width of the dialog box to ensure it fits to the screen as expected.
BZ#621138
Due to a different format of /proc/cpuinfo on IBM System z machines, Red Hat Network Client Tools may have reported an incorrect number of CPUs on this platform. This update adapts the underlying source code to ensure that the correct number of CPUs is reported on IBM System z machines.
BZ#625791
When the networkRetries configuration option in the /etc/sysconfig/rhn/up2date file was set to a non-integer value, network operations of the registration tools did not time out at all. With this update, the registration tools correctly set the default value of networkRetries to 1, and invalid values are now interpreted as a single attempt. As a result, network operations now time out as expected.
BZ#626752
When registering a system, previous versions of Red Hat Network Client Tools failed to recognize a fully-virtualized Red Hat Enterprise Linux 6 Xen guest, and incorrectly listed it as a paravirtualized guest. This update ensures that Red Hat Network Client Tools now recognize the virtualization type of fully-virtualized Red Hat Enterprise Linux 6 Xen guests correctly.
BZ#627525
Previously, enabling the rhnplugin Yum plug-in rendered the tsflags plug-in unusable, and an attempt to run the yum install --tsflags command failed with the following error:
Command line error: no such option: --tsflags
This update corrects this error, and the rhnplugin and tsflags plug-ins can now be used together as expected.
BZ#630575
When running the firstboot application in the Oriya language (that is, the or_IN language code), the No thanks, I'll connect later button did not have any shortcut key assigned to it. With this update, the button is now associated with the N key.
BZ#632282
Previously, the rhn_register utility for the graphical user interface did not honor the hostedWhitelist option in the /etc/sysconfig/rhn/up2date configuration file. This update corrects this error, and rhn_register now uses this option as expected.
BZ#634835
Due to incorrect use of HTML entities in the Russian translation (that is, the ru_RU language code) of the firstboot application, various screens regarding the configuration of software updates contained HTML tags, such as <b> or </b>. This update replaces these entities with plain text, and the Russian translation of firstboot is now displayed correctly.
BZ#638982
This update ensures that System Management BIOS (SMBIOS) data are properly encoded before they are sent over the XML-RPC protocol.
BZ#649233
When running the rhn_register utility for the graphical user interface, clicking the Back button after a failed attempt to provide a short password caused the mouse pointer to remain busy. This error has been fixed, and the mouse pointer is now properly restored.
BZ#651403
Previously, the Select operating system release screen of the rhn_register utility for the graphical user interface incorrectly referred to Red Hat Enterprise Linux 5, even when Red Hat Enterprise Linux 6 was used. With this update, this error no longer occurs, and the utility now correctly refers to the correct version of Red Hat Enterprise Linux.
BZ#651777
Previously, the manual page for the rhn-channel utility was missing. This update adds the rhn-channel(8) manual page as a symbolic link to spacewalk-channel(8).
BZ#651789
Prior to this update, the spacewalk-channel utility incorrectly reported success even when an attempt to add or remove a wrong channel failed. With this update, adding or removing a wrong channel now causes spacewalk-channel to report an error as expected.
BZ#651857
Prior to this update, certain combinations of command line options may have caused the spacewalk-channel utility to terminate unexpectedly with a traceback written to standard error. With this update, the underlying source code has been adapted to address this issue, and all supported command line options now work as expected.
BZ#652424
This update re-includes the useNoSSLForPackages option in the /etc/sysconfig/rhn/up2date configuration file. When enabled (that is, when set to 1), this option forces the use of the HTTP protocol for downloading repository metadata and RPM packages. Note that enabling this option disables Location-Aware Updates.
BZ#656380
In order to allow communication with multihomed Red Hat Network Proxy Servers over the HTTPS protocol, a previous version of the rhnplugin Yum plug-in disabled the SSL server name check for XML-RPC communication. For security reasons, the SSL server name check for the XML-RPC communication is no longer disabled.
BZ#666463
Due to rhnplugin not respecting Yum's metadata_expire configuration option, all channels used the default expiration time of 6 hours. This update adapts rhnplugin to use Yum's global settings.
BZ#666545
Prior to this update, when an outdated cache prevented the rhn_check utility from finding package information, the utility incorrectly reported success. This update adapts rhn_check to report failure in these situations.
BZ#666860
Prior to this update, the firstboot application always prompted a user to register the system with RHN Classic (previously named Red Hat Network). With this update, firstboot no longer prompts users to register their system with RHN Classic when they choose to register using the RHN Certificate-Based Entitlement technology.
BZ#667739
Various parts of the underlying source code have been adapted to make it easier to use the rhn_register utility with assistive technologies.
BZ#671032, BZ#671041
The rhn_register and rhnreg_ks utilities, the rhnplugin Yum plug-in, and their corresponding manual pages have been updated to reflect the change of the name from Red Hat Network to RHN Classic.
BZ#672471
When a system was not registered with RHN Classic or Red Hat Network Satellite Server, an attempt to remove a package by using the yum remove command failed, and a traceback was written to standard error. This was caused by rhnplugin incorrectly sending the list of removed packages to a Red Hat Network server. This update adapts rhnplugin not to send the list to a server when a system is not registered, and the yum remove command now works as expected.
BZ#679217
The firstboot application has been updated to mention the RHN Certificate-Based Entitlement technology as an alternative to RHN Classic.
BZ#680124
When gathering hardware information, previous versions of the rhn_register utility only submitted the number of active CPUs. However, especially on IBM System z systems, this value may vary over time. With this update, the rhn_register utility has been adapted to parse /sys/devices/system/cpu instead of /proc/cpuinfo, which reports all present CPUs.
BZ#684245
When using a non-English translation of the firstboot application, an attempt to register a system using the RHN Certificate-Based Entitlement technology failed, and a traceback was written to standard error. This was caused by a difference in the translation of the subscription-manager and rhn-client-tools packages. This error has been fixed, and the relevant part of the firstboot application no longer depends on a particular translation.
BZ#684248
Due to an incorrect binding to a wrong gettext domain, various parts of the firstboot application and the rhn_register utility were not translated. This error no longer occurs, and both programs are now translated as expected.
BZ#688870
Previously, the presence of an unknown channel name in the /var/cache/yum/rhnplugin.repos file caused certain Yum commands to fail with the following error:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repository_name. Please verify its path and try again
With this update, the rhnplugin has been adapted to ensure that such an error no longer prevents Yum from finishing.
BZ#690234
Under certain circumstances, the yum groupinstall command may have failed to install the selected package group with the following result:
No packages in any requested group available to install or update
This was caused by the Yum cache being populated twice. This update fixes this error, and the yum groupinstall command now works as expected.
BZ#691188
Prior to this update, an attempt to use an invalid SSL certificate for communication with RHN Classic or Red Hat Network Satellite Server caused Yum to terminate unexpectedly with a traceback. This update adapts the rhnplugin Yum plug-in to raise an exception in this case, and both Yum and the tools for the graphical user interface now display a proper error message.
BZ#697835
Previously, an attempt to run the rhnreg_ks --help command in a non-English environment may have failed with a traceback written to standard error. This was caused by the presence of a non-ASCII character in translated strings. With this update, the underlying source code has been adapted to retrieve the strings in Unicode, and running the rhnreg_ks utility with the --help option no longer causes it to crash.
Enhancements
BZ#626739
This update adds support for the Red Hat Network Satellite Server Maintenance Window. This allows users to download scheduled packages and errata before the start of a maintenance window. Note that this option is disabled by default. For information on how to enable it, refer to https://access.redhat.com/site/solutions/42227.
BZ#651792
The spacewalk-channel utility now supports the -L (or --available-channels) option, which allows a user to list all available child channels that are related to a system.
BZ#662704
The comment for the serverURL option in the /etc/sysconfig/rhn/up2date configuration file has been updated to mention that a fully qualified domain name (FQDN) must be specified.
BZ#671039
When a user attempts to register a system with RHN Classic and the system is already subscribed using the RHN Certificate-Based Entitlement technology, the rhn_register utility now displays a warning that the system is already registered using a different method.
All users of rhn-client-tools and yum-rhn-plugin are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.