Bug 1782321
| Summary: | zipl: BOOT_IMAGE=0 should not be added to /boot/loader/entries | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Thomas Huth <thuth> | ||||
| Component: | s390utils | Assignee: | Dan Horák <dhorak> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Vilém Maršík <vmarsik> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 8.2 | CC: | dhorak, fmartine, javierm, jhlavac, rvr | ||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||
| Target Release: | 8.2 | ||||||
| Hardware: | s390x | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | s390utils-2.6.0-25.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: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Huth
2019-12-11 14:19:43 UTC
Thomas, thanks for the report, I noticed this behaviour as well, but haven't filed a bug yet. Javier, I think this one is for you too. I guess the kernel-install scripts will need fixing. (In reply to Dan Horák from comment #1) > Thomas, thanks for the report, I noticed this behaviour as well, but haven't > filed a bug yet. > > Javier, I think this one is for you too. I guess the kernel-install scripts > will need fixing. That's correct. Since the BOOT_IMAGE parameter is added by the bootloader, the kernel-install plugins should skip this when setting the kernel command line in the BLS snippets. I'll attach a fix for this. Created attachment 1644429 [details]
PATCH] - skip BOOT_IMAGE param when copying the cmdline to BLS snippets
Javier, thanks for the patch. I'll work on getting it into the rpm. Reproduced: =========== # rpm -U --oldpackage s390utils-base-2.6.0-23.el8.s390x.rpm # grep BOOT_IMAGE /boot/loader/entries/* # cat /proc/cmdline root=/dev/mapper/rhel_ibm--z--101-root crashkernel=auto rd.dasd=0.0.0120 rd.dasd=0.0.0121 rd.dasd=0.0.0122 rd.dasd=0.0.0123 rd.lvm.lv=rhel_ibm-z-101/root rd.lvm.lv=rhel_ibm-z-101/swap rd.znet=qeth,0.0.8000,0.0.8001,0.0.8002,layer2=1,portname=z-101,portno=0 BOOT_IMAGE=0 # yum install kernel*.rpm (...) # grep BOOT_IMAGE /boot/loader/entries/* /boot/loader/entries/36129a31b4224825b8658cedbc52dd07-4.18.0-187.1.el8.s390x.conf:options root=/dev/mapper/rhel_ibm--z--101-root crashkernel=auto rd.dasd=0.0.0120 rd.dasd=0.0.0121 rd.dasd=0.0.0122 rd.dasd=0.0.0123 rd.lvm.lv=rhel_ibm-z-101/root rd.lvm.lv=rhel_ibm-z-101/swap rd.znet=qeth,0.0.8000,0.0.8001,0.0.8002,layer2=1,portname=z-101,portno=0 BOOT_IMAGE=0 $tuned_params And verified: ============= # rpm -e kernel-4.18.0-187.1.el8.s390x kernel-modules-4.18.0-187.1.el8.s390x kernel-core-4.18.0-187.1.el8.s390x # dnf upgrade s390utils-base (...) Upgraded: s390utils-base-2:2.6.0-28.el8.s390x Complete! # grep BOOT_IMAGE /boot/loader/entries/* # cat /proc/cmdline root=/dev/mapper/rhel_ibm--z--101-root crashkernel=auto rd.dasd=0.0.0120 rd.dasd=0.0.0121 rd.dasd=0.0.0122 rd.dasd=0.0.0123 rd.lvm.lv=rhel_ibm-z-101/root rd.lvm.lv=rhel_ibm-z-101/swap rd.znet=qeth,0.0.8000,0.0.8001,0.0.8002,layer2=1,portname=z-101,portno=0 BOOT_IMAGE=0 # yum install kernel*.rpm (...) Complete! # grep BOOT_IMAGE /boot/loader/entries/* # rpm -q s390utils-base s390utils-base-2.6.0-28.el8.s390x 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 |