Bug 444843

Summary: LiveCD install fails due to mdadm location
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-07 17:09:01 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    
Description Flags
anaconda traceback none

Description Warren Togami 2008-04-30 21:18:18 EDT
LiveCD from April 30th 2008

* Thu Apr 24 2008 Chris Lumens <clumens@redhat.com> -
- 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",

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
  File "/usr/lib/anaconda/backend.py", line 212, in doPostInstall
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1278, in nextClicked
  File "/usr/lib/anaconda/iw/progress_gui.py", line 80, in renderCallback
  File "/usr/lib/anaconda/gui.py", line 1299, in handleRenderCallback
RuntimeError: Error running /usr/sbin/mdadm: No such file or directory
Comment 1 Warren Togami 2008-04-30 21:20:30 EDT
Created attachment 304292 [details]
anaconda traceback
Comment 2 Jeremy Katz 2008-04-30 21:30:23 EDT
Fixed in git.
Comment 3 Bill Nottingham 2008-05-07 17:09:01 EDT