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.

Bug 1956205

Summary: "red hat enterprise linux-logos" package does not exist
Product: Red Hat Enterprise Linux 9 Reporter: Jan Stodola <jstodola>
Component: lorax-templates-rhelAssignee: Brian Lane <bcl>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jwboyer
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-templates-rhel-9.0-18.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:20:54 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:
Bug Depends On:    
Bug Blocks: 1942219    

Description Jan Stodola 2021-05-03 08:09:44 UTC
Description of problem:

The following line:
removefrom ${product.name}-logos /usr/share/plymouth/*

in runtime-cleanup.tmpl doesn't do what it is supposed to do:

...
template line 4: removefrom red hat enterprise linux-logos /usr/share/plymouth/*
removefrom red hat: no files matched!
removefrom red enterprise: no files matched!
removefrom red linux-logos: no files matched!
removefrom red /usr/share/plymouth/*: no files matched!
removefrom red hat enterprise linux-logos /usr/share/plymouth/*: no files to remove!
...

The name of the package in the current rhel-9 compose is:
redhat-logos-85.1-1.el9.x86_64.rpm

Version-Release number of selected component (if applicable):
lorax-templates-rhel-9.0-13.el9

How reproducible:
Always

Steps to Reproduce:
1. see buildinstall-BaseOS-logs/pylorax.log from the compose log files

Actual results:
/usr/share/plymouth/* files are not removed from redhat-logos

Expected results:
Files are removed from redhat-logos

Comment 1 Brian Lane 2021-05-03 19:02:28 UTC
Looks like this was also a problem in RHEL8. It also needs to work in other distros so I came up with an upstream fix for this that can be backported:

https://github.com/weldr/lorax/pull/1143

Comment 2 Brian Lane 2021-05-12 15:18:00 UTC
FYI this will actually be fixed in the next build of the templates, I messed up the previous commit and didn't drop the -logos constant after the variable. Build will be lorax-templates-rhel-9.0-18.el9

Comment 5 Jan Stodola 2021-06-09 18:28:17 UTC
It looks good, files from the correct redhat-logos are removed:

...
2021-06-03 15:30:02,463 DEBUG pylorax.ltmpl: template line 247: removefrom redhat-logos /usr/share/plymouth/*
2021-06-03 15:30:02,464 DEBUG pylorax.ltmpl: removefrom redhat-logos /usr/share/plymouth/*: removed 50/86 files, 273kb/388kb
2021-06-03 15:30:02,464 DEBUG pylorax.ltmpl: removed /var/tmp/lorax/lorax.a0d403m2/installtree//usr/share/plymouth/themes/charge/animation-0006.png
2021-06-03 15:30:02,465 DEBUG pylorax.ltmpl: removed /var/tmp/lorax/lorax.a0d403m2/installtree//usr/share/plymouth/themes/charge/animation-0018.png
...

Compose RHEL-9.0.0-20210607.0 with lorax-templates-rhel-9.0-19.el9.

Moving to VERIFIED.