Bug 444843 - LiveCD install fails due to mdadm location
Summary: LiveCD install fails due to mdadm location
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-05-01 01:18 UTC by Warren Togami
Modified: 2008-05-07 21:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-07 21:09:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anaconda traceback (28.16 KB, text/plain)
2008-05-01 01:20 UTC, Warren Togami
no flags Details

Description Warren Togami 2008-05-01 01:18:18 UTC
LiveCD from April 30th 2008
anaconda-11.4.0.78-1

* Thu Apr 24 2008 Chris Lumens <clumens> - 11.4.0.76-1
- Use the execWithCapture wrapper to be consistent. (jgranado)
- Call the mdadm with full path. (jgranado)

    def mdadmConf(self):
        """Make the mdadm.conf file with mdadm command.

        This creates a conf file with active arrays.  In other words
        the arrays that we don't want included must be inactive.
        """
        activeArrays = iutil.execWithCapture("/usr/sbin/mdadm", ["--detail",
"--scan"])

mdadm doesn't exist at this location in LiveCD.  mdadm exists at /sbin/mdadm in
the LiveCD filesystem.  This causes certain (or all?) LiveCD installs to break.

anaconda None exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iutil.py", line 103, in execWithCapture
    raise RuntimeError, "Error running " + command + ": " + msg
  File "/usr/lib/anaconda/fsset.py", line 1446, in mdadmConf
    activeArrays = iutil.execWithCapture("/usr/sbin/mdadm", ["--detail", "--scan"])
  File "/usr/lib/anaconda/fsset.py", line 1473, in write
    cf = self.mdadmConf()
  File "/usr/lib/anaconda/livecd.py", line 326, in doPostInstall
    anaconda.id.fsset.write(anaconda.rootPath)
  File "/usr/lib/anaconda/backend.py", line 212, in doPostInstall
    anaconda.backend.doPostInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1278, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 80, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1299, in handleRenderCallback
    self.currentWindow.renderCallback()
RuntimeError: Error running /usr/sbin/mdadm: No such file or directory

Comment 1 Warren Togami 2008-05-01 01:20:30 UTC
Created attachment 304292 [details]
anaconda traceback

Comment 2 Jeremy Katz 2008-05-01 01:30:23 UTC
Fixed in git.

Comment 3 Bill Nottingham 2008-05-07 21:09:01 UTC
Verified.


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