Bug 2027255

Summary: Removing /etc/initrd-release makes coreos-installer not work anymore
Product: Red Hat Enterprise Linux 9 Reporter: Antonio Murdaca <amurdaca>
Component: rust-coreos-installerAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED ERRATA QA Contact: Xiaofeng Wang <xiaofwan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bstinson, jwboyer
Target Milestone: rcKeywords: Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-coreos-installer-0.10.1-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:57:55 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:

Description Antonio Murdaca 2021-11-29 08:30:41 UTC
Description of problem:

Some change between 8.6* and 9 now makes coreos-installer dracut module not work in the initramfs in 9. COI removes /etc/initrd-release but surely systemd needs it for some reason and they're now enforcing the presence of that. Touch'ing the file makes COI work again in the initramfs.


Version-Release number of selected component (if applicable):

coreos-installer-dracut-0.10.1-4.el9.x86_64.rpm

How reproducible:

always


Steps to Reproduce:
1. Create an edge simplified installer using https://github.com/osbuild/osbuild-composer/pull/2015
2. boot the ISO
3.

Actual results:

COI doesn't work, just drops you in an emergency shell


Expected results:

COI works installing the system and rebooting
Additional info:

Comment 5 Xiaofeng Wang 2021-12-22 05:15:38 UTC
Verified on the following packages:

osbuild-42-1.el9.noarch                                                       
osbuild-composer-40-1.el9.x86_64                                              
osbuild-composer-core-40-1.el9.x86_64                                         
osbuild-composer-dnf-json-40-1.el9.x86_64                                     
osbuild-composer-worker-40-1.el9.x86_64                                       
osbuild-ostree-42-1.el9.noarch                                                
osbuild-selinux-42-1.el9.noarch                                               
ostree-2021.6-1.el9.x86_64                                                    
ostree-libs-2021.6-1.el9.x86_64

Comment 7 errata-xmlrpc 2022-05-17 12:57:55 UTC
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 (new packages: rust-coreos-installer), 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:2426