Bug 69115 - Crash when asked to create swap file on upgrade installation.
Summary: Crash when asked to create swap file on upgrade installation.
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda
Version: limbo
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Brock Organ
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
Reported: 2002-07-17 22:24 UTC by Jamie Guinan
Modified: 2007-04-18 16:44 UTC (History)
0 users

Clone Of:
Last Closed: 2002-07-18 02:16:50 UTC

Attachments (Terms of Use)

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)

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