Bug Fix Advisory preupgrade-assistant bug fix and enhancement update

Advisory: RHBA-2016:1022-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2016-05-11
Last updated on: 2016-05-11
Affected Products: Red Hat Enterprise Linux Extras (v. 6)

Details

Updated preupgrade-assistant packages that fix several bugs and add various
enhancements are now available for the Extras channel of Red Hat Enterprise
Linux 6.

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 tool 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:

* Previously, if the preupgrade-assistant utility was used to upgrade to Red Hat
Enterprise Linux 7, the GRUB option "--location=partition" was in some cases
retained. Consequently, the upgraded system could not boot, , because this
option is incompatible with GRUB2. This update ensures that
"--location=partition" is not carried over during the upgrade, and thus prevents
the described problem from occurring. (BZ#1263244)

* Prior to this update, preupgrade-assistant always included the debug output,
regardless of whether the "--debug" option was used. Now, preupgrade-assistant
correctly applies the "--debug" option, which makes the resulting report easier
to read. (BZ#1249074)

* When preupgrade-assistant was executed with the "--mode" option, it terminated
unexpectedly with the following traceback message:

Application does not have not attribute 'path'

This update ensures that preupgrade-assistant uses the correct directory path in
the described circumstances, which fixes the problem. (BZ#1317124)

* A bug caused the "preupg" command to terminate unexpectedly if the input was
sent non-interactively from a UNIX pipe. Now, "preupg" is able to correctly
accept input from a pipe. (BZ#1231410)

In addition, this update adds the following enhancements:

* The preupg-content-creator utility is now available in the
preupgrade-assistant-tools subpackage. The utility is designed to help with
kickstarting a new module for preupgrade-assistant. (BZ#1253682)

* The preupgrade-assistant utility now includes the "%packages --ignoremissing"
directive. If this directive is specified, the kickstart installation
automatically skips non-existent packages and logs them, instead of requesting
confirmation by the user. (BZ#1261460)

* The "--select-rules" and "--list-rules" options have been added to
preupgrade-assistant. "--select-rules" runs a set of contents given as a
comma-separated list, and "--list-rules" lists the available contents.
(BZ#1293410)

* To remain compatible with the most recent Red Hat Enterprise Linux version of
OpenSCAP, preupgrade-assistant has been updated to reflect the latest XSLT files
in use. (BZ#1304772)

* Previously, preupgrade-assistant was distributed as set of
architecture-specific RPM packages. As this is no longer required, it is now
distributed as a single cross-architecture (noarch) package. (BZ#1289939)

Users of preupgrade-assistant are advised to upgrade to these updated packages,
which 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:

https://access.redhat.com/articles/11258

Updated packages

Red Hat Enterprise Linux Extras (v. 6)

SRPMS:
preupgrade-assistant-2.1.6-5.el6.src.rpm
File outdated by:  RHBA-2017:0819
    MD5: 625493e2447507f0461449f4c38541a1
SHA-256: 35292557b13217823ca8ab0929ede72eb4d5ca82b51f28df993fc758798f9264
 
PPC:
preupgrade-assistant-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 334bf7ddc7bd1ba46a6c14c2d256bfa9
SHA-256: 06a28cb992a7c9d169c451664d4dbb5923d81347e9fd026a9588f670056a75ee
preupgrade-assistant-tools-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: d6ba7114c749fa625b892cc285a393a9
SHA-256: eac7046c2d00db528c92856ae0c3c60e7b324d9bef70132bcae16c794558432c
preupgrade-assistant-ui-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 1c6c119b5ffef016fcf8d15ede74b02d
SHA-256: a6857dce74590cd4ae5b6c1ad8e2ddd7d07c0049c1a062943f0afbf555887e1d
 
s390x:
preupgrade-assistant-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 334bf7ddc7bd1ba46a6c14c2d256bfa9
SHA-256: 06a28cb992a7c9d169c451664d4dbb5923d81347e9fd026a9588f670056a75ee
preupgrade-assistant-tools-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: d6ba7114c749fa625b892cc285a393a9
SHA-256: eac7046c2d00db528c92856ae0c3c60e7b324d9bef70132bcae16c794558432c
preupgrade-assistant-ui-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 1c6c119b5ffef016fcf8d15ede74b02d
SHA-256: a6857dce74590cd4ae5b6c1ad8e2ddd7d07c0049c1a062943f0afbf555887e1d
 
x86_64:
preupgrade-assistant-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 334bf7ddc7bd1ba46a6c14c2d256bfa9
SHA-256: 06a28cb992a7c9d169c451664d4dbb5923d81347e9fd026a9588f670056a75ee
preupgrade-assistant-tools-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: d6ba7114c749fa625b892cc285a393a9
SHA-256: eac7046c2d00db528c92856ae0c3c60e7b324d9bef70132bcae16c794558432c
preupgrade-assistant-ui-2.1.6-5.el6.noarch.rpm
File outdated by:  RHBA-2017:0819
    MD5: 1c6c119b5ffef016fcf8d15ede74b02d
SHA-256: a6857dce74590cd4ae5b6c1ad8e2ddd7d07c0049c1a062943f0afbf555887e1d
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1231410 - preupgrade fails if stdin fed from pipe (list index out of range)
1253682 - [RFE] Preupgrade-assistant-tools package should provide preupg-content-creator
1289939 - Preupgrade-assistant package should be NOARCH
1293410 - [RFE] Enable selective running of contents
1304772 - report generation is broken (openscap rebased)
1309519 - syntax errors in common.sh - check_rpm_to()
1317124 - preupg --mode migrate fails with (stripped) AttributeError due to Application.path
1318431 - not_applicable modules are run anyway (and throw 'error' result)
1330716 - preupg-content-creator traceback: no preup_creator.ui_helper



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

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