[PATCH] Fix position of "--run" option to mdadm assemble.

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

 



Having run as the first argument sets the mode to miscellaneous,
which is not what we want -- we want assembly mode since we are
assembling an array.
---
 storage/devicelibs/mdraid.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/devicelibs/mdraid.py b/storage/devicelibs/mdraid.py
index cd704ee..333fa6c 100644
--- a/storage/devicelibs/mdraid.py
+++ b/storage/devicelibs/mdraid.py
@@ -174,10 +174,10 @@ def mdactivate(device, members=[], super_minor=None, uuid=None):
         identifier = ""
 
     rc = iutil.execWithRedirect("mdadm",
-                                ["--run",
-                                 "--assemble",
+                                ["--assemble",
                                  device,
                                  identifier,
+                                 "--run",
                                  "--auto=md",
                                  "--update=super-minor"] + members,
                                 stderr = "/dev/tty5",
-- 
1.6.0.6

_______________________________________________
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