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 605289 - Miminal installation installs to many packages
Summary: Miminal installation installs to many packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: beta
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 519838 575256 582286 606700
TreeView+ depends on / blocked
 
Reported: 2010-06-17 15:08 UTC by Marian Ganisin
Modified: 2010-06-23 09:05 UTC (History)
8 users (show)

Fixed In Version: anaconda-13.21.50-9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-23 09:05:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
installation log files (9.02 KB, application/octet-stream)
2010-06-17 15:08 UTC, Marian Ganisin
no flags Details
installation log files (330.00 KB, application/x-tar)
2010-06-17 16:07 UTC, Marian Ganisin
no flags Details

Description Marian Ganisin 2010-06-17 15:08:10 UTC
Created attachment 424855 [details]
installation log files

Description of problem:
Choice of Minimal installation doesn't install minimal package set. Instead of 200 packages it is installing more than 500 packages.

Version-Release number of selected component (if applicable):
anaconda 13.21.51
RHEL6.0-20100617.0

Steps to Reproduce:
1. Start graphical installation
2. Choose minimal package set
3. finish installation

Comment 1 Chris Lumens 2010-06-17 15:12:16 UTC
What variant are you installing?

Comment 2 RHEL Program Management 2010-06-17 15:13:24 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Marian Ganisin 2010-06-17 15:16:54 UTC
(In reply to comment #1)
> What variant are you installing?    

Server

Comment 4 Eduard Benes 2010-06-17 15:50:27 UTC
This is a new regression. We need this for the minimal install feature which we would like to have in a good shape for public beta 2.

Comment 5 Bill Nottingham 2010-06-17 16:01:55 UTC
I'm confused. The attachment you have shows 224 packages.

Comment 6 Marian Ganisin 2010-06-17 16:07:08 UTC
Created attachment 424868 [details]
installation log files

(In reply to comment #5)
> I'm confused. The attachment you have shows 224 packages.    

Hmm, I have to learn to work with "Open File dialog". Attempt number 2.

Comment 7 Bill Nottingham 2010-06-17 16:32:16 UTC
That still doesn't look right - that log is from an install with 'base' selected.

Comment 8 Marian Ganisin 2010-06-17 16:53:56 UTC
(In reply to comment #7)
> That still doesn't look right - that log is from an install with 'base'
> selected.    

That's the users experience.

Basic Server: 535 packages
Minimal:      535 packages

Comment 9 Bill Nottingham 2010-06-17 17:33:10 UTC
Actually, that's not just base... that's the default package set.

Looking at the change again for add-on repos:

commit 22678c93b266c53613003248f2093a71240aa08f
Author: David Lehman <dlehman>
Date:   Wed Jun 9 12:08:07 2010 -0500

    Select default and mandatory packages when enabling repos.
    
    Related: rhbz#561164

diff --git a/iw/task_gui.py b/iw/task_gui.py
index ded1008..09c8b02 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -513,6 +513,9 @@ class TaskWindow(InstallWindow):
             map(lambda g: setattr(self.backend.ayum.comps.return_group(g),
                                   "default", True), grps)
 
+        # now select default and mandatory packages from newly enabled repos
+        self.anaconda.backend.ayum.doGroupSetup()
+
     def _editRepo(self, *args):
         repo = None

... will this just reset whatever groups are selected to the default from the comps file, no matter what tasks are selected?

Comment 10 Bill Nottingham 2010-06-17 17:38:32 UTC
Going back to the goals here, it was:

- have task selection modify the groups selected from the 'base' repository's comps file
- have selecting the add-on repo use the defaults from that repo

Given that the separate comps from those repos is mashed down to a single set of groups, I'm now not seeing how we do that sanely; we can only do one or the other.

(Well, we could explode the task list and have disparate entry for each task multiplied by each combination of add-ons. But that's dumb.)

So, we may just have to revert this patch, and document that for Add-Ons, you have to go to package customization. (or use kickstart)

Comment 11 Chris Lumens 2010-06-17 17:53:32 UTC
Reverting the above patch does fix the minimal install problem.  I've verified that.

> Going back to the goals here, it was:
> 
> - have task selection modify the groups selected from the 'base' repository's
> comps file
> - have selecting the add-on repo use the defaults from that repo
> 
> Given that the separate comps from those repos is mashed down to a single set
> of groups, I'm now not seeing how we do that sanely; we can only do one or the
> other.

Agreed.  We've basically defined two conflicting goals:

(1) That the selected tasks define what groups are enabled by default.
(2) That the selected repos define what groups are enabled by default.

These two cannot simultaneously exist.  We basically need to decide whether having a minimal install or having people jump through an extra UI hoop is more important to us.

> So, we may just have to revert this patch, and document that for Add-Ons, you
> have to go to package customization. (or use kickstart)    

The benefit of doing this is that we're back to the extra repo behavior that's existed in anaconda all the way until now.  If I'm remembering correctly, you've always had to go into the package customization UI and select your groups after adding a repo.  anaconda would merge the comps groups together, but it wouldn't go through and automatically select groups.

An argument could be made that we've already trained people to expect to have to do that.

Comment 12 Steve Grubb 2010-06-17 18:04:12 UTC
Do these extra repos have anything in "core"? If they do not, meaning they are in a different group, then selecting minimal install would still be @core.

Comment 13 Bill Nottingham 2010-06-17 18:11:09 UTC
(In reply to comment #12)
> Do these extra repos have anything in "core"? If they do not, meaning they are
> in a different group, then selecting minimal install would still be @core.    

They don't, but due to the way that the groups are represented inside yum, you can't just select the defaults from the extra repos and not the defaults from the main repo.

Comment 14 Steve Grubb 2010-06-17 18:35:56 UTC
Minimal install should be @core and nothing extra. I was under the impression that adding the repos was a convenience so that you could use yum later to add packages from them, but not to actually install anything during system setup.

Comment 18 Eduard Benes 2010-06-18 12:36:47 UTC
(In reply to comment #11)
> Reverting the above patch does fix the minimal install problem.  I've verified
> that.
 ...
> Agreed.  We've basically defined two conflicting goals:
> 
> (1) That the selected tasks define what groups are enabled by default.
> (2) That the selected repos define what groups are enabled by default.
> 
> These two cannot simultaneously exist.  We basically need to decide whether
> having a minimal install or having people jump through an extra UI hoop is more
> important to us.

From the perspective of minimal install feature we want to present in public Beta 2, I would suggest to revert the patch. Or would this conflict with some other goal we have for Beta 2? And for RC we can come up with a better solution. 

Any thoughts?

Comment 19 Chris Lumens 2010-06-18 15:16:00 UTC
I've reverted the patch for bug 561164 that was responsible for this bug.  It will be included in the next build of anaconda, which I've added to the Fixed In Version field.  We still need to document the expected behavior in 561164 so they don't reopen that one.  I'll do that right now.


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