Bug 69115

Summary: Crash when asked to create swap file on upgrade installation.
Product: [Retired] Red Hat Public Beta Reporter: Jamie Guinan <guinan>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: limbo   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-18 02:16:50 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: 67218    

Description Jamie Guinan 2002-07-17 22:24:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/0

Description of problem:
Upgrading my Vaio laptop from RH 7.2, I have one big
partition for Linux, no swap partition.  Installer
prompted to either create a swap file or not to (radio
button selection).  When I elected to create one, it
crashed.  Repeated the install without creating one,
and it went smoothly.

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


How reproducible:
Didn't try

Steps to Reproduce:
1. Selected "Upgrade existing installation".
2. In dialog where it suggests a new swap file, I selected
   the option to create the newer/bigger swap file
   (I only have one ext3 partition, no separate partition for swap).
3. Click [Next] or whatever, anaconda crashes in line 50
   of /usr/lib/anaconda/iw/upgrade_swap_gui.py, with 
   "rc not defined" or something to that effect. 
	

Actual Results:  Installer "crashed", but let me jump into Python debugger
to look at the problem.


Expected Results:  Installer should not have crashed. :)


Additional info:

Looking at /usr/lib/anaconda/iw/upgrade_swap_gui.py.
it appears that if the "if" clause on line 39 evaluates
false, rc isn't set.

Comment 1 Jeremy Katz 2002-07-18 06:14:09 UTC
Already fixed in CVS (dupe of a few others)