Bug 79467

Summary: "len() of unsized object"; linux text upgrade boot loader configuration
Product: [Retired] Red Hat Linux Reporter: John Reiser <jreiser>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
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: 2003-05-25 14:53:36 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:
Attachments:
Description Flags
anaconda crash dump none

Description John Reiser 2002-12-11 23:04:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Description of problem:
ananconda crashed during upgrade from CD-ROM, in the initial dialogs before
installing any packages.  I used text mode, English, US keyboard, USB mouse (3
buttons), no customize package list, upgrade 1 of 2 partitions (hda3 has RHL8.0
and no boot loader [use floppy instead]; hda5 has RHL7.3 and uses GRUB in MBR
with hda1 as /boot), Skip boot loader updating, crash.

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


How reproducible:
Always

Steps to Reproduce:
1. CD-ROM boot from KRUD linux (tummy.com) 2002-12-01, which is RHL8.0 with all
upgrades applied as of the 1st of each month.
2. boot "linux text"; English; US keyboard; USB mouse (3 buttons), no customize
package list; upgrade 1 of 2 partitions
3. Skip boot loader updating
	

Actual Results:  Upgrade Boot Loader Configuration

The installer is unable to detect the boot loader
currently in use on your system.

( ) Update boot loader configuration
(*) Skip boot loader updating
( ) Create new boot loader configuration

[OK] Back

An unhandled exception has occurred.  This
is most likely a bug.  Please copy the full
text of this exception or save the crash
dump to a floppy then file a detailed bug
report against anaconda at
http://bugzilla.redhat.com/bugzilla/

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 694, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/lib/anaconda/text.py", line
425, in run
    rc = apply(2in, (self.screen, ) + args)
  File
"/usr/lib/anaconda/textw/upgrade_bootloader
_text.py", line 113, in __call__
    self.bl.setDevice(self.bootDev)
  File "/usr/lib/booty/bootloaderInfo.py",
line 206, in setDevice
    (dev, part) = getDiskPart(device)
  File "/usr/lib/booty/bootLoaderInfo.py",
line 1231, in getDiskPart
    cut = len(dev)
TypeError: len() of unsized object

[OK] Save Debug


Expected Results:  Normal upgrade, no crash.

Additional info:

anacdump.txt will be attached.

Comment 1 John Reiser 2002-12-11 23:05:07 UTC
Created attachment 88487 [details]
anaconda crash dump

Comment 2 Jeremy Katz 2003-01-03 01:55:38 UTC
Fixed in CVS.  For now, you can work around by selecting 'Create new boot loader
configuration'

Comment 3 Brent Fox 2003-05-25 14:53:36 UTC
I'm going through Bugzilla closing some bugs that have been marked as Modified
for some period of time.  I believe that most of these issues have been fixed,
so I'm resolving these bugs as Rawhide.  If the bug you are seeing still exists,
please reopen this report and mark it as Reopened.