Red Hat Bugzilla – Bug 69115
Crash when asked to create swap file on upgrade installation.
Last modified: 2007-04-18 12:44:15 EDT
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):
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. :)
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.
Already fixed in CVS (dupe of a few others)