Red Hat Bugzilla – Bug 472739
Anaconda crashes with ext4 option in text mode
Last modified: 2009-01-27 09:53:30 EST
Description of problem:
I try to change existing ext3 partition in text mode with enabled ext4 option. So anaconda crashed.
You must have existing ext3 partition.
Steps to Reproduce:
1. Begin installation with 'ext4 text' options;
2. Do everything till "Partition Type";
3. Select 'Create Custom Layout';
4. 'Edit' any existing ext3 partition;
5. Press 'File System Options' button.
Traceback in attachment.
Created attachment 324463 [details]
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
I think this is caused when makeFsList is passed a usetypes on line 658 of textw/partition_text.py. Since fileSystemTypeGetDefault nor request.fstype and request.fstype are in the Listbox, a KeyError occurs on fstype.setCurrent(fileSystemTypeGetDefault()).
Here's a completely untested patch that tries to fix this and clean up the code a bit: http://ricky.fedorapeople.org/anaconda/0001-Fix-behavior-when-makeFsList-is-passed-usetypes-cle.patch
FYI, text mode is probably going away in the future.
Text mode is not going away! It is changing to provide a standardized, default installation in a manner that is clean for serial consoles etc.
Right, text mode is being simplified. On my branch for this work, Ricky's patch will no longer apply because that entire block has been removed. So, I don't believe this is something that will be applicable once my patches are merged in. That should be happening before F11 Beta.
Ricky - thank you for working on a patch.