Bug 469854

Summary: Selecting [Back] then [Next] at Package selection screen clears out all default selected packages
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell, dtimms, dwalsh, jturner
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: NEEDSRETESTING
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-07 23:28:44 UTC Type: ---
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: 469046    
Attachments:
Description Flags
Boot failure.jpg
none
install.log
none
anaconda.log
none
syslog
none
anaconda-ks.cfg
none
anaconda-logs.tgz (ppc)
none
anaconda-logs.tgz (i386) none

Description James Laska 2008-11-04 14:04:59 UTC
Created attachment 322426 [details]
Boot failure.jpg

Description of problem:

Manually select *all* package groups.  Somehow selinux is not installed on the system and the system cannot boot after install.

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

How reproducible:
2/2

Steps to Reproduce:
1. Boot installer
2. Proceed to graphical package selection
3. Manually select every package group (right-side of package selection)
  
Actual results:

EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
type=1404 audit(....): enforcing=1 old_enforcing=0 auid=.... ses=...
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.23: No such file or directory
Unable to load SELinux policy (No such file or directory). Halting now

Expected results:

A boot able system with selinux installed

Additional info:

 * See attached log files
 * See attached boot screenshot
 * Able to boot the system by passing "selinux=0"

Comment 1 James Laska 2008-11-04 14:05:29 UTC
Created attachment 322427 [details]
install.log

Comment 2 James Laska 2008-11-04 14:05:50 UTC
Created attachment 322428 [details]
anaconda.log

Comment 3 James Laska 2008-11-04 14:08:05 UTC
Created attachment 322429 [details]
syslog

Comment 4 James Laska 2008-11-04 14:10:23 UTC
Created attachment 322430 [details]
anaconda-ks.cfg

Bingo ... why/how did selinux-policy-targeted get added to the exclude list?

# grep selinux-policy /root/anaconda-ks.cfg 
-selinux-policy-targeted

Comment 5 Daniel Walsh 2008-11-04 15:42:46 UTC
If you are running with selinux you need to install a policy, you excluded the policy which causes the machine to not work.

Comment 6 Chris Lumens 2008-11-04 16:05:08 UTC
No, the attached anaconda-ks.cfg was the one written out by anaconda after installation.  selinux-policy-targeted is showing up as excluded there because of something anaconda (or hopefully some other package) did.

Comment 7 James Laska 2008-11-04 16:34:24 UTC
Created attachment 322446 [details]
anaconda-logs.tgz (ppc)

Same steps followed on ppc F10-PreviewRelease and similar results found ... attaching anaconda-logs-ppc.tgz.

The commonality seems to be that a slew of packages are added to the exclude list somehow.

Comment 8 Chris Lumens 2008-11-05 21:11:45 UTC
I remember you previously indicated that if you select all the groups, then hit back, then hit next to return to package selection, all the packages are removed.  Is that what we're seeing here too?

Comment 9 James Laska 2008-11-06 14:45:38 UTC
Created attachment 322732 [details]
anaconda-logs.tgz (i386)

Retested now being careful *not* to hit [Back] then [Next] ... it appears to have done the right thing.  selinux is properly installed.

I think it's safe to say this bug is specific to the default||optional package lists being cleared out when going [Back] then [Next] to the pkg selection screen.

Comment 10 Jeremy Katz 2008-11-06 16:14:59 UTC
Fixed in git

Comment 11 Chris Lumens 2008-11-07 15:18:47 UTC
*** Bug 470495 has been marked as a duplicate of this bug. ***

Comment 12 Jesse Keating 2008-11-07 22:49:29 UTC
This will be in rawhide as of 20081108 or later.  Please re-test.

Comment 13 Jesse Keating 2008-11-07 23:28:44 UTC
Re-tested with the anaconda just tagged and this is in fact fixed.  Going back, and then going into customize now once again re-sets everything back to their default status.