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 1971840

Summary: Please replace genisoimage with xorriso
Product: Red Hat Enterprise Linux 9 Reporter: Jiri Kucera <jkucera>
Component: edk2Assignee: Laszlo Ersek <lersek>
Status: CLOSED CURRENTRELEASE QA Contact: Xueqiang Wei <xuwei>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: apevec, bdobreli, berrange, coli, jinzhao, juzhang, kkiwi, kraxel, lersek, mrezanin, pbonzini, philmd, smooney, virt-maint
Target Milestone: betaKeywords: RFE, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: edk2-20210527gite1999b264f1f-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:50:14 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:
Bug Depends On: 1938254    
Bug Blocks: 2002949    

Description Jiri Kucera 2021-06-14 20:16:15 UTC
cdrkit is going to be removed from RHEL 9 since it is not actively developed for a long time. xorriso from libisoburn is genisoimage's alternative.

Fedora PR: https://src.fedoraproject.org/rpms/edk2

Comment 1 Klaus Heinrich Kiwi 2021-06-15 13:01:34 UTC
Laszlo,

 this sounds important (and urgent, since it's RHEL9 compose-related?). Should this be assigned to you? Let me know otherwise.

 -Klaus

Comment 2 Laszlo Ersek 2021-06-23 09:22:06 UTC
Hi Klaus,

it's best to update the RHEL9 spec file after the RHEL-9 rebase of edk2 (= rebuild of RHEL-8.5 SRPM).

Thanks
Laszlo

Comment 3 Laszlo Ersek 2021-06-23 09:25:26 UTC
(In reply to Jiri Kucera from comment #0)
> cdrkit is going to be removed from RHEL 9 since it is not actively developed
> for a long time. xorriso from libisoburn is genisoimage's alternative.
> 
> Fedora PR: https://src.fedoraproject.org/rpms/edk2

> - genisoimage -input-charset ASCII -J -rational-rock \
> -     -efi-boot "${vfat##*/}" -no-emul-boot -o "$iso" -- "$vfat"
> + mkisofs -input-charset ASCII -J -rational-rock \
> +     -e "${vfat##*/}" -no-emul-boot -o "$iso" "$vfat"

I prefer using verbose option names (command lines in general) in spec files, so in RHEL9 we should replace "-efi-boot" with "--efi-boot", not "-e". Furthermore, removing the "--" option/operand delimiter seems unwarranted, we should keep it in RHEL9, even if only for readability's sake.

Thanks.

Comment 4 Laszlo Ersek 2021-06-28 16:52:30 UTC
Bug 1938254 is now in MODIFIED state, so work can commence on this downstream-only update.

Comment 5 Laszlo Ersek 2021-06-30 10:19:47 UTC
(In reply to Laszlo Ersek from comment #3)
> (In reply to Jiri Kucera from comment #0)
> > cdrkit is going to be removed from RHEL 9 since it is not actively developed
> > for a long time. xorriso from libisoburn is genisoimage's alternative.
> > 
> > Fedora PR: https://src.fedoraproject.org/rpms/edk2
> 
> > - genisoimage -input-charset ASCII -J -rational-rock \
> > -     -efi-boot "${vfat##*/}" -no-emul-boot -o "$iso" -- "$vfat"
> > + mkisofs -input-charset ASCII -J -rational-rock \
> > +     -e "${vfat##*/}" -no-emul-boot -o "$iso" "$vfat"
> 
> I prefer using verbose option names (command lines in general) in spec
> files, so in RHEL9 we should replace "-efi-boot" with "--efi-boot", not
> "-e". Furthermore, removing the "--" option/operand delimiter seems
> unwarranted, we should keep it in RHEL9, even if only for readability's sake.

My preferences do not work, unfortunately, due to various bugs in the "mkisofs" wrapper of "xorriso". It's not a drop-in replacement. The Fedora changes are justified, but they were not explained.

Comment 6 Laszlo Ersek 2021-06-30 12:49:49 UTC
Regression testing (with any UefiShell.iso-related tasks from the test plan) should suffice here -- in fact the package build process itself only completes if UefiShell.iso is built correctly and behaves correctly.

Comment 10 Yanan Fu 2021-07-05 01:58:03 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 11 Xueqiang Wei 2021-07-13 20:19:23 UTC
Tested edk2 test loop(secure boot, uefi shell commands, https installation, pxe installation and so on), no new bug found. So set status to VERIFIED.


Versions:
kernel-5.13.0-0.rc7.51.el9.x86_64
qemu-kvm-6.0.0-7.el9
edk2-20210527gite1999b264f1f-2.el9