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:
In order to install air-gapped systems, it may be required to embed some update images in the RHEL DVD, which can theorically be done through repacking the DVD (see procedure in KCS https://access.redhat.com/solutions/60959 for kickstarts). Here I would expect to specify the update image as inst.updates=cdrom:/path/to/update.img in isolinux.cfg/grub.cfg
Unfortunately this doesn't work, doing so leads to dracut to find find the /dev/root device because dracut-initqueue loops on waiting for updates to finish:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[ 10.506363] dracut-pre-trigger[714]: //lib/anaconda-lib.sh@364(wait_for_updates): echo '[ -e /tmp/liveupdates.done ]'
[ 13.253862] dracut-initqueue[902]: //lib/dracut/hooks/initqueue/finished/updates.sh@1(source): '[' -e /tmp/liveupdates.done ']'
[ 13.301070] dracut-initqueue[902]: //lib/dracut/hooks/initqueue/finished/updates.sh@1(source): '[' -e /tmp/liveupdates.done ']'
:
[ 225.761803] dracut-initqueue[902]: //lib/dracut/hooks/initqueue/finished/updates.sh@1(source): '[' -e /tmp/liveupdates.done ']'
[ 225.766925] dracut-initqueue[902]: //lib/dracut/hooks/initqueue/finished/updates.sh@1(source): '[' -e /tmp/liveupdates.done ']'
[ 225.770937] dracut-initqueue[902]: //lib/dracut/hooks/initqueue/finished/updates.sh@1(source): '[' -e /tmp/liveupdates.done ']'
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
It's unclear to me why this doesn't work, it seems like the service/script applying the update image never executes.
Version-Release number of selected component (if applicable):
All anaconda releases I could try (RHEL7, RHEL8.5).
How reproducible:
Always
Steps to Reproduce:
1. Repack a DVD using procedure in https://access.redhat.com/solutions/60959 but with adding an update image instead of kickstart
2. Boot the DVD
Actual results:
No switch root to stage2
dracut emergency prompt shown
Expected results:
Boots fine
Hi Renaud,
I looked on the code and it seems that we don't accept `inst.updates=cdrom:<path>` format for updates images but only `inst.updates=cdrom:<dev>:<path>`.
https://github.com/rhinstaller/anaconda/blob/rhel-9/dracut/updates-genrules.sh#L17
Not sure if this is a bug or on purpose, however, could you please test that format if it helps?
Hi Jiri,
Thanks for checking, it appears you are totally right.
Actually either one of these can be used:
- inst.updates=cdrom:/dev/sr0:/path.img
- inst.updates=hd:LABEL=<DVD-LABEL>:/path.img
I think we can hence close this as WORKSFORME, sorry for disturbing.