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 1984706

Summary: When installing environment groups from EPEL that reference groups from RHEL/CentOS, the RHEL/CentOS groups are silently skipped
Product: Red Hat Enterprise Linux 8 Reporter: Neal Gompa <ngompa13>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: swm-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, davide, james.antill, jwboyer, malmond, michel, nsella, orion, tdawson
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-26 13:42:24 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:
Attachments:
Description Flags
CentOS Stream 8 Hyperscale (KDE) Workstation LiveCD kickstart
none
EPEL 8 Next x86_64 comps.xml (20210723 compose) none

Description Neal Gompa 2021-07-21 23:46:55 UTC
Created attachment 1804307 [details]
CentOS Stream 8 Hyperscale (KDE) Workstation LiveCD kickstart

Description of problem:
When creating an initial installation of CentOS Stream + EPEL Next with KDE Plasma, DNF silently skips all the groups requested in "@kde-desktop-environment" (a group defined in EPEL) that are from CentOS Stream itself. This leads to broken installations that are missing too much stuff to work properly.

I'm pretty sure that's not how environment groups are supposed to work... :(

Version-Release number of selected component (if applicable):
4.7.0-1.el8

How reproducible:
Always

Steps to Reproduce:
1. Install epel-release and epel-next-release
2. Enable PowerTools repo
3. sudo dnf --releasever=8 --installroot=/var/tmp/kdetest install "@kde-desktop-environment"

Actual results:
Only group proposed to be installed under the environment is the "KDE" group.

Expected results:
The "KDE" group, along with many other groups from RHEL/CentOS base should be proposed to be installed.

Additional info:
I verified the behavioral breakage by testing with the "@workstation-product-environment" group, which works exactly as it should and has similar groups in its definition.

I originally discovered this while attempting to create the CentOS Hyperscale (KDE) Workstation using livecd-creator, where I wound up with broken images because there was a ton of missing stuff.

I've attached the kickstart, and you can run it after installing the livecd-tools package like so:

sudo livecd-creator --config c8s-live-kde-flat.ks --fslabel CS8-HS-KDE-LIVE-20210721 --title=CS8-HS-KDE-Live-20210721 --product=CentOS-Stream-8-Hyperscale-KDE-Workstation --releasever=8

Comment 1 Troy Dawson 2021-07-22 15:32:42 UTC
I have done some tests, and I believe dnf is behaving as it should.
The problem is that the kde-desktop-environment currently in epel8 and epel8-next doesn't have any of it's groups marked as default.

I have setup a minimal install CentOS Stream 8 machine, with epel-release and epel-release-next installed.
I have also added an local empty repo (cs8) that only has a comps.xml file loaded, with the environment and category kde-desktop-environment-1 set.   kde-desktop-environment-1 has the same groups marked default, that are in F34 comps file.
This is what I get on that machine.

# dnf group install --assumeno kde-desktop-environment
...
Installing Environment Groups:
 KDE Plasma Workspaces                                                                                                                
Installing Groups:
 KDE
 
# dnf group install --assumeno kde-desktop-environment-1
...
Installing Environment Groups:
 <name-unset>                                                                                                                         
Installing Groups:
 base-x                                                                                                                               
 Standard                                                                                                                             
 Core                                                                                                                                 
 Dial-up Networking Support                                                                                                           
 Fonts                                                                                                                                
 Input Methods                                                                                                                        
 Multimedia                                                                                                                           
 Common NetworkManager submodules                                                                                                     
 Hardware Support                                                                                                                     
 Printing Client                                                                                                                      
 Guest Desktop Agents                                                                                                                 
 KDE

I believe your problem will be fixed when the epel8-next comps update get's merged and into the repos.
https://pagure.io/fedora-comps/pull-request/665

Comment 2 Neal Gompa 2021-07-23 23:58:28 UTC
Created attachment 1805029 [details]
EPEL 8 Next x86_64 comps.xml (20210723 compose)

Alas, no, this is not fixed. But now I know why. It seems that the comps groups are filtered out at compose time.

Does anyone know what actually does this part?

Comment 3 Neal Gompa 2021-07-26 11:16:37 UTC
Since this is not actually a DNF bug and turns out to be a bug with EPEL release engineering, I've filed the appropriate bug: https://pagure.io/releng/issue/10228

This BZ can be closed.