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.
Description of problem:
mkksiso fails while creating iso of RHEL-8.6. It seems that the issue is long names of modular packages.
Joliet has limit of 64 characters for filename, one way to avoid this could be running mkisofs with -U but that could cause other problems.
Version-Release number of selected component (if applicable):
lorax-28.14.63-1.el8
How reproducible:
Always
Steps to Reproduce:
1. Install lorax
2. Get RHEL-8.6.0 installation dvd
3. Prepare some kickstart
3. Run mkksiso ks.cfg /var/tmp/images/cdimage.iso /var/tmp/images/cdimage_ks.iso
Actual results:
...
genisoimage: Error: /tmp/mkksiso-pm1x46tg/AppStream/Packages/clang-resource-filesystem-13.0.0-2.module+el8.6.0+13046+42aaae31.x86_64.rpm and /tmp/mkksiso-pm1x46tg/AppStream/Packages/clang-resource-filesystem-13.0.0-2.module+el8.6.0+13046+42aaae31.i686.rpm have the same Joliet name
Joliet tree sort failed. The -joliet-long switch may help you.
NOTE: multiple source directories have been specified and merged into the root
of the filesystem. Check your program arguments. genisoimage is not tar.
ERROR:Command '['mkisofs', '-o', '/var/tmp/images/cdimage_ks.iso', '-R', '-J', '-V', 'RHEL-8-6-0-BaseOS-x86_64', '-b', 'isolinux/isolinux.bin', '-c', 'isolinux/boot.cat', '-boot-load-size', '4', '-boot-info-table', '-no-emul-boot', '-eltorito-alt-boot', '-e', 'images/efiboot.img', '-no-emul-boot', '-graft-points', '.discinfo=/tmp/mkksiso-pm1x46tg/.discinfo', '.treeinfo=/tmp/mkksiso-pm1x46tg/.treeinfo', 'AppStream=/tmp/mkksiso-pm1x46tg/AppStream', 'BaseOS=/tmp/mkksiso-pm1x46tg/BaseOS', 'EFI=/tmp/mkksiso-pm1x46tg/EFI', 'EULA=/tmp/mkksiso-pm1x46tg/EULA', 'GPL=/tmp/mkksiso-pm1x46tg/GPL', 'RPM-GPG-KEY-redhat-beta=/tmp/mkksiso-pm1x46tg/RPM-GPG-KEY-redhat-beta', 'RPM-GPG-KEY-redhat-release=/tmp/mkksiso-pm1x46tg/RPM-GPG-KEY-redhat-release', 'extra_files.json=/tmp/mkksiso-pm1x46tg/extra_files.json', 'images=/tmp/mkksiso-pm1x46tg/images', 'isolinux=/tmp/mkksiso-pm1x46tg/isolinux', 'media.repo=/tmp/mkksiso-pm1x46tg/media.repo', 'ks.cfg=/mnt/tests/installation/mkksiso-ks-into-dvd/ks.cfg']' returned non-zero exit status 1.
INFO:Running... umount /tmp/lorax.imgutils._0ddq0k6
ERROR:New ISO creation failed
Expected results:
cdimage_ks.iso is created
Additional info:
mkksiso ends with 0 even though image is not created
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 (lorax bug fix and enhancement update), 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-2022:1785