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 1778243 - s390utils: fix BLS-related decision logic in /usr/lib/kernel/install.d/*.install
Summary: s390utils: fix BLS-related decision logic in /usr/lib/kernel/install.d/*.install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: s390utils
Version: 8.1
Hardware: s390x
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.2
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-29 15:15 UTC by Jan Hlavac
Modified: 2020-04-28 16:50 UTC (History)
2 users (show)

Fixed In Version: s390utils-2.6.0-24.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:49:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1826 0 None None None 2020-04-28 16:50:03 UTC

Description Jan Hlavac 2019-11-29 15:15:29 UTC
In the fix of the bug#1755899, there was introduced a change in the decision logic of the /usr/lib/kernel/install.d/20-zipl-kernel.install script. Specifically, whether the Boot Loader Specification (BLS) is used. Instead of just checking the existence of the /sbin/new-kernel-pkg file, the existence of the /boot/loader/entries directory is also checked.

More thorough testing revealed that the fix covers only the case when a new kernel is added. However, the remaining cases should also be covered. That means the case when a rescue kernel is added and the case when some kernel is removed.


Version-Release number of selected component:
s390utils-base-2.6.0-22.el8


Actual results:
When a rescue kernel is added or when some kernel is removed, the 52-zipl-rescue.install and 20-zipl-kernel.install scripts only check the existence of the /sbin/new-kernel-pkg file.


Expected results:
When a rescue kernel is added or when some kernel is removed, the 52-zipl-rescue.install and 20-zipl-kernel.install scripts check the existence of the /sbin/new-kernel-pkg file and the existence of the /boot/loader/entries directory.


Additional info:
A new fix already exists (bug#1755899 => attachment#1627629 [details]). It just needs to be rebased.

Comment 1 Vilém Maršík 2019-12-09 16:55:30 UTC
Is SanityOnly testing enough here?

Comment 2 Dan Horák 2019-12-10 18:43:57 UTC
Yes, it is. Later we can get feedback also from the in-place upgrade team, the original issue was their.

Comment 4 Vilém Maršík 2020-02-06 20:54:40 UTC
The fix looks applied to /usr/lib/kernel/install.d/20-zipl-kernel.install and /usr/lib/kernel/install.d/52-zipl-rescue.install in 8.2 Beta on s390x. Setting verified/sanityonly.

Comment 6 errata-xmlrpc 2020-04-28 16:49:37 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://access.redhat.com/errata/RHBA-2020:1826


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