Bug 140960 - Installer crashes if pre-existing JFS partions exist
Installer crashes if pre-existing JFS partions exist
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-26 18:39 EST by John Patrick Poet
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-26 22:17:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Patrick Poet 2004-11-26 18:39:38 EST
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-26 22:17:28 EST
This is fixed in CVS.
Comment 2 John Patrick Poet 2004-11-26 22:55:35 EST
How do I create a new FC3 install DVD with the CVS version of the
installer?

Thanks,

John

Note You need to log in before you can comment on or make changes to this bug.