-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.4
-
None
-
No
-
None
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
Trying to create an image including the "Serve with GUI" group fails as this includes the dracut-config-rescue package, which in turns creates a vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff image, preventing the final stages of ostree image creation from running as expected, ending up with the following error :
Preparing kernel
error: Finalizing rootfs: During kernel processing: Multiple vmlinuz- in usr/lib/ostree-boot, occurrences 'usr/lib/ostree-boot/vmlinuz-5.14.0-427.37.1.el9_4.aarch64' and 'usr/lib/ostree-boot/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff'
Traceback (most recent call last):
File "/run/osbuild/bin/org.osbuild.ostree.preptree", line 176, in <module>
r = main(args["tree"], args["options"])
File "/run/osbuild/bin/org.osbuild.ostree.preptree", line 169, in main
subprocess.run(["rpm-ostree", "compose", "postprocess",
File "/usr/lib64/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['rpm-ostree', 'compose', 'postprocess', '/run/osbuild/tree', '/tmp/tmpo2wka6ck.json']' returned non-zero exit status 1.
This have been fixed upstream ( https://github.com/osbuild/images/issues/624 ) but it seems this currently won't happen before RHEL 9.6
This is impacting our current TP for RHEL support on NVIDIA Jetson devices as we have interested partners and customers willing to test this integration with an OSTree-based approach who are complaining they can't create such images with a proper GUI as quite a few usecases for these devices at the edge do rely on having a properly setup Xorg environment.
Since this TP is currently limited to RHEL 9.4 we would need to have this fix backported all the way down to RHEL 9.4