Bug 241992

Summary: upgrade_bootloader_gui.py expects no blank lines in /etc/modprobe.conf
Product: [Fedora] Fedora Reporter: Anduin Withers <awithers>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-01 09:36:38 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:

Description Anduin Withers 2007-06-01 06:05:07 UTC
Description of problem:

The _newToLibata function is broken, it attempts to l.strip()[0] == "#" 
(upgrade_bootloader_gui.py: 78). The problem with this is clear, a stripped 
empty line will "IndexError: string index out of range".

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


How reproducible:
Very, easily.

Steps to Reproduce:
1. Actually upgrade a real system, especially one with at least one blank line 
in /etc/modprobe.conf.
  
Actual results:

Upgrade fails.

Expected results:

Upgrade to work.

Additional info:

Comment 1 Anduin Withers 2007-06-01 09:36:38 UTC

*** This bug has been marked as a duplicate of 241991 ***