- Issued:
- 2016-11-03
- Updated:
- 2016-11-03
RHBA-2016:2616 - Bug Fix Advisory
Synopsis
preupgrade-assistant bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated preupgrade-assistant packages that fix several bugs and add two enhancements are now available for the Extras channel of Red Hat Enterprise Linux 6.
Description
The Preupgrade Assistant is a diagnostics utility that assesses the system for possible in-place upgrade limitations and provides a report with the analysis results. It is based on a module system, with each module performing a separate test, checking for package removals, incompatible obsoletes, changes in libraries, names changes, or deficiencies in the compatibilities of some configuration files. Data gathered by the Preupgrade Assistant can be used for cloning the system. It also provides post-upgrade scripts to finish more complex problems after an in-place upgrade. The Preupgrade Assistant utility is a prerequisite for completing a successful in-place upgrade to the next major version of Red Hat Enterprise Linux.
This update fixes the following bugs:
- The Preupgrade Assistant now generates the preupgrade.ks file in the /root/preupgrade/kickstart/ directory. (BZ#1318602)
- In some cases, the "preupg --riskcheck" command returned the exit status of 225. This status is not documented and could be misinterpreted by scripting utilities. With this update, "preupg --riskcheck" returns the documented exit status of 14. (BZ#1325393)
- The Preupgrade Assistant now prints log messages to the standard error ("stderr") instead of the standard output ("stdout"). (BZ#1330883)
- If there is no risk detected, the Preupgrade Assistant no longer writes logs and returns an info message instead. (BZ#1331629)
- Previously, if more than one upgrade path was present in the /usr/share/preupgrade/ directory, the "preupg --list-contents-set" command did not list any upgrade path. With this update, the Preupgrade Assistant properly lists all upgrade paths as expected. (BZ#1332777)
- When the preupg-content-creator utility asks users to select a value and offers them a default value, users can now accept the default value by pressing Enter. (BZ#1332792)
- Previously, the Preupgrade Assistant incorrectly used the "preupg --kickstart" option to generate a Kickstart file. Consequently, an attempt to do generate a Kickstart file failed with the following error message:
preupg: error: unbound method get_default_xml_result_path() must be called with OpenSCAPHelper instance as first argument (got nothing instead)
The Preupgrade Assistant has been fixed to use the correct "preupg-kickstart-generator" command to generate Kickstart files. (BZ#1351550)
- When a module finished with the "exit_fail" return code and did not mention any risk, the module was marked in the report as "need_inspection" instead of "error". With this update, modules are marked as "error" in the described situation. (BZ#1362659)
- The "preupg --list-rules" command now prints only rule IDs, which ensures that scripts can parse the output easily. (BZ#1362722)
- Previously, the way of ensuring if all binary requirements are present on the system produced false positive results that the Preupgrade Assistant marked as HIGH risks. The function for finding binary requirements has been enhanced to avoid false positives results. (BZ#1372319)
In addition, this update adds the following enhancements:
- The hook script has been updated to provide an API for modules. (BZ#1334903)
- This update improves the logging format for risks and info messages so that it is now easier to separate such messages from syntax error messages or other error messages returned by external utilities. (BZ#1361378)
Users of preupgrade-assistant are advised to upgrade to these updated packages that fix these bugs and add these enhancements.
Solution
Before applying this update, install the openscap-engine-sce package, and make sure all previously released errata relevant to your system have been applied.
For details on how to apply this update, refer to:
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
Fixes
- BZ - 1272917 - Fixing several grammar fixes
- BZ - 1318602 - preupgrade.ks is not in directory /root/preupgrade/kickstart
- BZ - 1325393 - Undocumented exit status 255 if --riskcheck ran too soon
- BZ - 1331629 - `INPLACERISK: NONE: foo` does not really make any sense
- BZ - 1332777 - --list-contents-set does not list anything
- BZ - 1332792 - content creator: default value in prompt is not picked on Enter
- BZ - 1334903 - [RFE] Improved hook system
- BZ - 1352171 - some files are missing from tarball
- BZ - 1361378 - [RFE] improve risk/message logging format
- BZ - 1362659 - exit_fail without risk results in needs_inspection
- BZ - 1362722 - preupg --list-rules prints extra info; hard to use for scripting
- BZ - 1362762 - Script header is erased if author is missing in INI
- BZ - 1378215 - deploy_hook() traceback on missing mandatory arguments
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
preupgrade-assistant-2.1.10-6.el6.src.rpm | SHA-256: dce46f0e1c2393159221fc02169016a6c64c81eb998c1eac9c16004bb252290d |
x86_64 | |
preupgrade-assistant-2.1.10-6.el6.noarch.rpm | SHA-256: e8a30e3faf535c055b788a74c39cec27adcc2d352a03e7277a4dc7887276cb73 |
preupgrade-assistant-tools-2.1.10-6.el6.noarch.rpm | SHA-256: c33f44cc15ef045430d13fee9f090e662d87249ab70cc1f1df7f53379c4fa4a5 |
preupgrade-assistant-ui-2.1.10-6.el6.noarch.rpm | SHA-256: f07b687e9243c437c19fc0588fa5bd8cbf5f7e6b7d4bca06ffa1f24d3f910bf5 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
preupgrade-assistant-2.1.10-6.el6.src.rpm | SHA-256: dce46f0e1c2393159221fc02169016a6c64c81eb998c1eac9c16004bb252290d |
s390x | |
preupgrade-assistant-2.1.10-6.el6.noarch.rpm | SHA-256: e8a30e3faf535c055b788a74c39cec27adcc2d352a03e7277a4dc7887276cb73 |
preupgrade-assistant-tools-2.1.10-6.el6.noarch.rpm | SHA-256: c33f44cc15ef045430d13fee9f090e662d87249ab70cc1f1df7f53379c4fa4a5 |
preupgrade-assistant-ui-2.1.10-6.el6.noarch.rpm | SHA-256: f07b687e9243c437c19fc0588fa5bd8cbf5f7e6b7d4bca06ffa1f24d3f910bf5 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
preupgrade-assistant-2.1.10-6.el6.src.rpm | SHA-256: dce46f0e1c2393159221fc02169016a6c64c81eb998c1eac9c16004bb252290d |
ppc64 | |
preupgrade-assistant-2.1.10-6.el6.noarch.rpm | SHA-256: e8a30e3faf535c055b788a74c39cec27adcc2d352a03e7277a4dc7887276cb73 |
preupgrade-assistant-tools-2.1.10-6.el6.noarch.rpm | SHA-256: c33f44cc15ef045430d13fee9f090e662d87249ab70cc1f1df7f53379c4fa4a5 |
preupgrade-assistant-ui-2.1.10-6.el6.noarch.rpm | SHA-256: f07b687e9243c437c19fc0588fa5bd8cbf5f7e6b7d4bca06ffa1f24d3f910bf5 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
preupgrade-assistant-2.1.10-6.el6.src.rpm | SHA-256: dce46f0e1c2393159221fc02169016a6c64c81eb998c1eac9c16004bb252290d |
x86_64 | |
preupgrade-assistant-2.1.10-6.el6.noarch.rpm | SHA-256: e8a30e3faf535c055b788a74c39cec27adcc2d352a03e7277a4dc7887276cb73 |
preupgrade-assistant-tools-2.1.10-6.el6.noarch.rpm | SHA-256: c33f44cc15ef045430d13fee9f090e662d87249ab70cc1f1df7f53379c4fa4a5 |
preupgrade-assistant-ui-2.1.10-6.el6.noarch.rpm | SHA-256: f07b687e9243c437c19fc0588fa5bd8cbf5f7e6b7d4bca06ffa1f24d3f910bf5 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.