Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: s390utils: fix BLS-related decision logic in /usr/lib/kernel/install.d/*.install
Product: Red Hat Enterprise Linux 8 Reporter: Jan Hlavac <jhlavac>
Component: s390utilsAssignee: Dan Horák <dhorak>
Status: CLOSED ERRATA QA Contact: Vilém Maršík <vmarsik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: dhorak, rvr
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.2   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: s390utils-2.6.0-24.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:49:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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