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 2036974 - [image-installer] Kickstart doesn't end with a new line
Summary: [image-installer] Kickstart doesn't end with a new line
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: osbuild-composer
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ondřej Budai
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1942219
TreeView+ depends on / blocked
 
Reported: 2022-01-04 14:39 UTC by Jiri Kortus
Modified: 2022-05-17 13:38 UTC (History)
2 users (show)

Fixed In Version: osbuild-45.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 13:30:01 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106802 0 None None None 2022-01-04 14:43:53 UTC
Red Hat Product Errata RHBA-2022:2522 0 None None None 2022-05-17 13:30:28 UTC

Description Jiri Kortus 2022-01-04 14:39:49 UTC
This bug was initially created as a copy of Bug #2036971

Description of problem:
Kickstart contained within an "image-installer" ISO built by osbuild-composer doesn't end with a new line. This can be an issue when the kickstart is used as a base for extension with custom kickstart commands and the missing new line is not taken into account (as this results is an invalid kickstart).

Version-Release number of selected component (if applicable):
osbuild-composer-40-1.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install and start osbuild-composer.
2. Prepare and upload a blueprint.
3. Build an image-installer image type.
4. Mount the resulting image and inspect /osbuild.ks from the image.

Actual results:
The kickstart file (/osbuild.ks) doesn't end with a new line.

Expected results:
The kickstart file (/osbuild.ks) ends with a new line.

Comment 1 Jiri Kortus 2022-01-04 14:47:42 UTC
Upstream issue: https://github.com/osbuild/osbuild-composer/issues/2164

Comment 3 Jakub Rusz 2022-02-23 16:29:13 UTC
Checked the osbuild.ks in the resulting image with cat and newline is present:

[root@jrusz-rhel-8-testing temp]# cat -e osbuild.ks
liveimg --url file:///run/install/repo/liveimg.tar$

Tested with:
osbuild-composer-45-1.el9.x86_64
osbuild-48-1.el9.noarch

Moving to VERIFIED.

Comment 5 errata-xmlrpc 2022-05-17 13:30:01 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: osbuild-composer), 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:2522


Note You need to log in before you can comment on or make changes to this bug.