LiveCD install fails due to mdadm location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=444843
LiveCD from April 30th 2008
anaconda-11.4.0.78-1

* Thu Apr 24 2008 Chris Lumens <clumens@xxxxxxxxxx> - 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux