Red Hat Bugzilla – Bug 61592
hwbrowser dies on system with un-partitioned scsi hard drive
Last modified: 2013-04-02 00:16:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
Description of problem:
After installing a new SCSI drive (which becomes /dev/sdb) and low-level
formatting it (leaving no filesystems, no partitions), hwbrowser (from desktop
or command line) never comes up (displays a window and awaits user input). Run
from the command line, an error pertaining to filesystem on /dev/sdb is shown
and the program exits.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a hard drive with no partitions on the system. I speculate it won't
matter whether SCSI or not.
2. Log in and run the Hardware Browser (hwbrowser from the command line)
Actual Results: Python error messages. Shown in additional information.
Expected Results: Hardware display window should have appeared and awaited
Traceback (innermost last):
File "/usr/share/hwbrowser/DeviceList.py", line 158, in ?
File "/usr/share/hwbrowser/DeviceList.py", line 151, in setup_ui
DeviceDisk.initialize (xml, hardware)
File "/usr/share/hwbrowser/DeviceDisk.py", line 403, in initialize
populate (ctree, disks, graph)
File "/usr/share/hwbrowser/DeviceDisk.py", line 322, in populate
disk = parted.PedDisk.open (device)
parted.error: Error: Unable to open /dev/sdb - unrecognised disk label.
Fixed in CVS, should go out to rawhide soon