Bug 140960

Summary: Installer crashes if pre-existing JFS partions exist
Product: [Fedora] Fedora Reporter: John Patrick Poet <john>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-27 03:17:28 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 John Patrick Poet 2004-11-26 23:39:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Firefox/0.10

Description of problem:
If pre-existing JFS partions are available on the system, when trying
to install Fedora Core 3, installation crashes.  This happens even
when NOT trying to install anything on those JFS partitions.



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

How reproducible:
Always

Steps to Reproduce:
1. Pre-existing Fedora Core 2 install, with some JFS partitions.
2. Try installing Fedora Core 3 on different partition(s) except the
one for "home".  Home is *not* formated as JFS.
 

Actual Results:    File "/usr/lib/anaconda/isys.py", line 639, in
readFSLabel
    label = readJFSLabel(device, makeDevNode)
  File "/usr/lib/anaconda/isys.py", line 594, in readJFSLabel
    label = readJFSLabel_int("/tmp/disk")
  File "/usr/lib/anaconda/isys.py", line 582, in readJFSLabel_int
    os.lseek(fd,32768,0)
OSError: [Errno 22] Invalid argument



Expected Results:  Fecora Core 3 should have installed...


Additional info:

Traceback (most recent call last):
  File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py",
line 1074, in handleRenderCallback
    self.currentWindow.renderCallback()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/iw/progress_gui.py",
line 242, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py",
line 789, in nextClicked
    self.dispatch.gotoNext()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py",
line 171, in gotoNext
    self.moveStep()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py",
line 239, in moveStep
    rc = apply(func, self.bindArgs(args))
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/packages.py",
line 555, in turnOnFilesystems
    thefsset.formatSwap(instPath)
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/fsset.py", line
1326, in formatSwap
    self.labelEntry(entry, chroot)
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/fsset.py", line
1369, in labelEntry
    entry.fsystem.labelDevice(entry, chroot)
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/fsset.py", line
739, in labelDevice
    self.maxLabelChars)
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/fsset.py", line
112, in createLabel
    labels = diskset.getLabels()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/partedUtils.py",
line 568, in getLabels
    label = isys.readFSLabel(dev)
  File "/usr/lib/anaconda/isys.py", line 639, in readFSLabel
    label = readJFSLabel(device, makeDevNode)
  File "/usr/lib/anaconda/isys.py", line 594, in readJFSLabel
    label = readJFSLabel_int("/tmp/disk")
  File "/usr/lib/anaconda/isys.py", line 582, in readJFSLabel_int
    os.lseek(fd,32768,0)
OSError: [Errno 22] Invalid argument

Local variables in innermost frame:
device: /tmp/disk
jfslabel: None
fd: 84

Comment 1 Jeremy Katz 2004-11-27 03:17:28 UTC
This is fixed in CVS.

Comment 2 John Patrick Poet 2004-11-27 03:55:35 UTC
How do I create a new FC3 install DVD with the CVS version of the
installer?

Thanks,

John