RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1252848 - system/kdump: Rewrite to better cover kdump/zipl case
Summary: system/kdump: Rewrite to better cover kdump/zipl case
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant-contents
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Stodulka
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-12 11:20 UTC by Alois Mahdal
Modified: 2016-04-04 19:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Check when kernel-kdump is installed on the system and in this case requires manual action of user before upgrade - set high risk and print remedy instructions. In addition presence of "kdump" item in zipl.conf file is checked for additional log message.
Clone Of:
Environment:
Last Closed: 2015-08-13 08:50:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1195759 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2015:1608 0 normal SHIPPED_LIVE preupgrade-assistant-contents bug fix update 2015-08-13 12:49:54 UTC

Internal Links: 1195759

Description Alois Mahdal 2015-08-12 11:20:52 UTC
Background
==========

On s390x, if user installed kernel-kdump using installer UI (anaconda,
as opposed to installing the package later using eg. yum) but later
removed it using rpm/yum, system could end up with corrupted zipl.conf
(in some cases even unbootable).


Description of problem
======================

Current implementation of system/kernel-kdump content is trying to help
user with above scenario by advicing them but also by attempting to fix
the situation.  This has proved unreliable, too bold and potentially
causing more harm than good.

Replace content with new implementation based only on detecting,
explaining and advising on the problem, and leaving the solution up to
the user.


Version-Release number of selected component
============================================

preupgrade-assistant-contents-0.6.30-1.el6


How reproducible
================

Always


Steps to Reproduce
==================

 1. Run anaconda installer and select kernel-kdump to be installed

 2. On the new system, remove kernel-kdump using yum or similar
    but do not update /etc/zipl.conf

 3. Run preupg

 4. Run redhat-upgrade-tool to upgrade to RHEL7


Actual results
==============

 *  Preupg says (in result.html or similar) it's planning to remove
    kernel-kdump

 *  redhat-upgrade-tool removes kernel-kdump and attempts
    to update zipl.conf


Expected results
================

 *  Preupg raises HIGH risk and explains the situation in result.html.
    Solution is left to user.

Comment 4 Alois Mahdal 2015-08-12 16:57:49 UTC
Verified:

 *  If kdump is installed *and* present in zipl.conf,
    => two separate HIGH risks are issued.

 *  If kdump is installed *but not* present in zipl.conf,
    => one HIGH risk is issued.

 *  If kdump is neither installed *nor* present in zipl.conf,
    => no related HIGH risk is issued.

 *  In any case,
    => no preupgrade-scripts are generated.

Comment 6 errata-xmlrpc 2015-08-13 08:50:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1608.html


Note You need to log in before you can comment on or make changes to this bug.